TX Spell .NET for Windows Forms

SpelledWord Class

Class
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXSpell.dll
Install
dotnet add package TXTextControl.TXSpell.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXSpell.dll from the setup.
Also in
TXTextControl.TXSpell.Core.SDK as TXSpell.dll
Derived
IncorrectWord

Description

The abstract class SpelledWord represents a spelled word in a text.

Syntax

public abstract class SpelledWord

Examples

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

Console.WriteLine($"Text: {spelledWord.Text}");
Console.WriteLine("Spelled Word is ready for use.");

Members

Properties

PropertyDescription
IndexGets the index of the spelled word to the corresponding collection. The first word has the index 0.
LengthGets the length of the spelled word.
StartGets the starting position of a spelled word. It is a zero-based index of the word's first character.
TextGets the text of the spelled word.