TXTextControl.Proofing.UserDictionary.AddWord Method

Adds a word to the user dictionary. The method has no effect, if the UserDictionary.IsEditable property is false or the user dictionary is not added to the TXSpell.Dictionaries or TXSpellChecker.Dictionaries DictionaryCollection.

Syntax

[C#]
public bool AddWord(string word);
[Visual Basic]
Public Function AddWord(word As String) As Boolean
Parameter Description
word

Specifies the word to add to the user dictionary.

Return Value

The return value is true, if the word could be added. Otherwise, it is false.