TX Spell .NET for Windows Forms

SourceText Property

Property|Introduced in 3.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 the complete text without the replaced incorrect words.

Syntax

public string SourceText { get; }

Examples

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

Console.WriteLine($"Source Text: {incorrectWordChangingEventArgs.SourceText}");
Console.WriteLine("Incorrect Word Changing Event Args is ready for use.");

Limitations

Read only.