Gets a collection of all misspelled words contained in the main text of the document. The property value is an object of the type MisspelledWordCollection.

Syntax

public MisspelledWordCollection MisspelledWords { get; }
Public ReadOnly Property MisspelledWords() As MisspelledWordCollection

Examples

The following examples describes how to use the 'TXTextControl.MainText.MisspelledWords' property by storing it in a variable of the type 'TXTextControl.MisspelledWordCollection'.

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText();
// ...
TXTextControl.MisspelledWordCollection myMainTextMisspelledWordsColl = mainText.MisspelledWords;
//...
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
'...
Dim myMainTextMisspelledWordsColl As TXTextControl.MisspelledWordCollection = mainText.MisspelledWords
'...

Limitations

Read only.