SpelledWord Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WinForms. SDK
- Assembly
TXSpell.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WinForms. SDK TXSpell.from the setup.dll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
- Derived
- Incorrect
Word
Description
The abstract class SpelledWord represents a spelled word in a text.
Syntax
public abstract class SpelledWordPublic MustInherit Class SpelledWordExamples
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.");Console.WriteLine($"Text: {spelledWord.Text}")
Console.WriteLine("Spelled Word is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Index | Gets the index of the spelled word to the corresponding collection. The first word has the index 0. |
| Length | Gets the length of the spelled word. |
| Start | Gets the starting position of a spelled word. It is a zero-based index of the word's first character. |
| Text | Gets the text of the spelled word. |