TX Text Control ActiveX

MisspelledWordDelete Method

Method

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.

Syntax

TXTextControl.MisspelledWordDelete Number, CorrectedText

Parameters

ParameterDescription
NumberSpecifies 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.
CorrectedTextSpecifies 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.

Return Value

The method returns True when the operation could be performed, otherwise it returns False.

Data Types

NameData type
NumberLong
CorrectedTextString
Return valueBoolean

See Also