TX Spell .NET for Windows Forms

NextIFormattedText Property

Property|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the next object of type TXTextControl.IFormattedText that contains the next misspelled word (TXTextControl.MisspelledWord).

Syntax

public object NextIFormattedText { get; }

Examples

The following example includes the next iformatted text value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Next IFormatted Text: {spellCheckDialogStateManager.NextIFormattedText}");
Console.WriteLine("Spell Check Dialog State Manager is ready for use.");

Limitations

Read only.

Remarks

An exception is thrown, if the SpellCheckDialog is not connected to an object of type TXTextControl.TextControl.