TX Spell .NET for Windows Forms

CurrentIFormattedText Property

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

Description

Gets that object of type TXTextControl.IFormattedText that includes the misspelled word which is currently handled by the SpellingCorrectionUIProvider. This property is updated when the CurrentWordToCorrect is redifined.

Syntax

public object CurrentIFormattedText { get; }

Examples

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

Console.WriteLine($"Current IFormatted Text: {stateManager.CurrentIFormattedText}");
Console.WriteLine("State Manager is ready for use.");

Limitations

Read only.