Class SpellCheckerModule
Represents the spell checker module in DocumentEditor.
Inheritance
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.DocumentEditor.dll
Syntax
public class SpellCheckerModule : Object
Constructors
SpellCheckerModule(SfDocumentEditor)
Initializes a new instance of the SpellCheckerModule class. Default constructor for SpellCheckerModule.
Declaration
public SpellCheckerModule(SfDocumentEditor baseComponent)
Parameters
Type | Name | Description |
---|---|---|
SfDocumentEditor | baseComponent | An DocumentEdiorComponent instance. |
Properties
DocumentEditor
DocumentEdiorComponent instance.
Declaration
protected SfDocumentEditor DocumentEditor { get; set; }
Property Value
Type |
---|
SfDocumentEditor |
Methods
ClearCacheAsync()
Method to clear cached words for spell check.
Declaration
public Task ClearCacheAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |
GetAllowSpellCheckAndSuggestionAsync()
Getter indicates whether suggestion enabled.
Declaration
public Task<bool> GetAllowSpellCheckAndSuggestionAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | A System.Threading.Tasks.Task representing the asynchronous operation. |
GetEnableOptimizedSpellCheckAsync()
Gets the boolean indicating whether optimized spell check to be performed.
Declaration
public Task<bool> GetEnableOptimizedSpellCheckAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | A System.Threading.Tasks.Task representing the asynchronous operation. |
GetLanguageIDAsync()
Gets the languageID.
Declaration
public Task<int> GetLanguageIDAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | A System.Threading.Tasks.Task representing the asynchronous operation. |
GetRemoveUnderlineAsync()
Getter indicates whether underline removed for mis-spelled word.
Declaration
public Task<bool> GetRemoveUnderlineAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | A System.Threading.Tasks.Task representing the asynchronous operation. |
GetUniqueWordsCountAsync()
Gets the spell checked Unique words.
Declaration
public Task<int> GetUniqueWordsCountAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | A System.Threading.Tasks.Task representing the asynchronous operation. |
SetAllowSpellCheckAndSuggestionAsync(Boolean)
Setter to enable or disable suggestion.
Declaration
public void SetAllowSpellCheckAndSuggestionAsync(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | Specifies the allow spell check and suggestion. |
SetEnableOptimizedSpellCheckAsync(Boolean)
Sets the boolean indicating whether optimized spell check to be performed.
Declaration
public void SetEnableOptimizedSpellCheckAsync(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | Specifies the enable optimized spell check. |
SetLanguageIDAsync(Int32)
Sets the languageID.
Declaration
public void SetLanguageIDAsync(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Specifies the language id. |
SetRemoveUnderlineAsync(Boolean)
Setter to enable or disable underline for mis-spelled word.
Declaration
public void SetRemoveUnderlineAsync(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | Specifies the remove underline. |
SetUniqueWordsCountAsync(Int32)
Sets the spell checked Unique words.
Declaration
public void SetUniqueWordsCountAsync(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Specifies the unique word count. |