Removes the specified misspelled word from a Text Control document. The method removes the word's reference in the list of misspelled words, but not the word's text in the document. If text is specified, this text replaces the word's text.
Introduced: 16.0.
TXTextControl.MisspelledWordDelete Number, CorrectedText
Parameter | Description | |
Number |
Specifies the number of the misspelled word to remove. All misspelled words are counted from the beginning to the end of a document. The first word has the number 1. |
|
CorrectedText |
Specifies corrected text. The current text of the word is replaced with this text. If an empty string is specified, the word's text remains the same. |
The method returns True when the operation could be performed, otherwise it returns False.
Number: | Long |
CorrectedText: | String |
Return value: | Boolean |
<< TXTextControl.MisspelledWordAtInputPos Property | >> TXTextControl.MisspelledWordLength Property