TX Text Control .NET for Windows Forms

MisspelledWords Property

Property|Introduced in 16.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Server.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a collection of all misspelled words in the main text of the document. Lists of misspelled words of a header or footer or of a text frame are provided through the HeaderFooter.MisspelledWords and TextFrame.MisspelledWords properties. The property value is an object of the type MisspelledWordCollection.

Syntax

public MisspelledWordCollection MisspelledWords { get; }

Examples

The following example iterates through the misspelled words collection and processes each misspelled word.

foreach (MisspelledWord misspelledWord in textControl.MisspelledWords)
{
    Console.WriteLine(misspelledWord.IsDuplicate);
}

Limitations

Read only.