SpellChecker Class |
Namespace: Kettic.AspNet.Controls
The SpellChecker type exposes the following members.
Name | Description | |
---|---|---|
![]() | SpellChecker |
Create a new KaxSpellChecker object. You need to pass a correct path to the folder that contains the dictionary files (*.TDF)
|
Name | Description | |
---|---|---|
![]() | AddToCustom |
Adds a new word to the custom dictionary. It first checks if the word is already present in the current base or custom dictionaries.
|
![]() | CheckText |
Performs the actual spellchecking. It will be automatically called by the Errors property accessor.
|
![]() | Close |
Cleans up any resources held by the SpellChecker object. It is an alias of the Dispose method.
|
![]() | Dispose |
Clean up used resources.
|
![]() | GetSuggestions |
Gets a list of suggestions from the dictionary for the specified word
|
Name | Description | |
---|---|---|
![]() | CustomAppendix |
The suffix that gets appended to the custom dictionary file name. It is usually a user specific string that allows to distinguish dictionaries for different users.
Default filenames are Language + CustomAppendix + ".txt".
Field ValueType:The default is -Custom |
![]() | CustomDictionarySource |
Manipulate the custom dictionary source. The new value must implement ICustomDictionarySource.
|
![]() | CustomDictionarySourceType |
The fully qualified name of the type that will be used for the custom dictionary storage. The type name must include the assembly, culture and public key token.
A new instance will be created internally unless you set CustomDictionarySource CustomDictionarySource directly.
|
![]() | DictionaryLanguage |
The language of the dictionary to be used for spellchecking. It usually is the same as the corresponding TDF file (without the extension).
|
![]() | EditDistance |
Specifies the edit distance. If you increase the value, the checking speed decreases but more suggestions are presented. It does not do anything for the phonetic spellchecking.
|
![]() | Errors |
The errors after the last spellcheck. The getter method will call CheckText automatically if the text has not been checked yet.
|
![]() | SpellCheckProvider |
Specifies whether KaxSpell should use the internal spellchecking algorithm or try to use Microsoft Word. The possible values are defined in the SpellCheckProvider enum.
|
![]() | SpellCheckProviderTypeName |
Specifies the type name for the custom spell check provider
|
![]() | Text |
Sets the text to be spellchecked. It can be plain text or HTML.
|
![]() | TextWords |
This property returns the list of words that was generated when the Text property is set.
|
![]() | WordIgnoreOptions |
A set of rules that specify words that should be ignored during the spellcheck. Note that this property should be set before the Text property.
|