CurrentIFormattedText Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK 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; }Public ReadOnly Property CurrentIFormattedText As ObjectExamples
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.");Console.WriteLine($"Current IFormatted Text: {stateManager.CurrentIFormattedText}")
Console.WriteLine("State Manager is ready for use.")Limitations
Read only.