Class SpellCheckOptions
Represents the JSON data structure for spell checking operations.
Inheritance
Inherited Members
Namespace: Syncfusion.EJ2.SpellChecker
Assembly: Syncfusion.EJ2.SpellChecker.dll
Syntax
public class SpellCheckOptions
Constructors
SpellCheckOptions()
Declaration
public SpellCheckOptions()
Properties
AddWord
Gets or sets a value indicating whether to add unknown words to the custom dictionary.
Declaration
public bool AddWord { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
CheckSpelling
Gets or sets a value indicating whether to perform a spelling check. Set to false to skip checking but allow other features (e.g., Suggestions and Add word to dictionary).
Declaration
public bool CheckSpelling { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
EnableSuggestions
Gets or sets a value indicating whether to generate suggestions for misspelled words.
Declaration
public bool EnableSuggestions { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
IgnoreUppercase
Gets or sets a value indicating whether words in all uppercase should be ignored. Useful for acronyms and constants (e.g., HTTP, NASA).
Declaration
public bool IgnoreUppercase { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
LanguageId
Gets or sets the Language ID.
Declaration
public int LanguageId { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Text
Gets or sets the input text to check for spelling and suggestions.
Declaration
public string Text { get; set; }
Property Value
| Type |
|---|
| System.String |
UserName
Gets or sets a value indicating whether user-specific dictionary collections are enabled. If the user name string is defined, a custom dictionary file is created based on the user name. Words are then retrieved from or added to this dictionary if they are not already present.
Declaration
public string UserName { get; set; }
Property Value
| Type |
|---|
| System.String |