IncorrectWord 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
- Inherits
- Spelled
Word - Incorrect
Word
- Spelled
Description
The IncorrectWord class represents an incorrect word in a text. It is inherited from the abstract class SpelledWord.
Syntax
public sealed class IncorrectWord : SpelledWordPublic NotInheritable Class IncorrectWord
Inherits SpelledWordExamples
The following example creates an Incorrect Word instance for a document-processing operation. The created object is then available to the surrounding document workflow.
TXTextControl.Proofing.IncorrectWord incorrectWord = new();
Console.WriteLine("Incorrect Word is ready for use.");Dim incorrectWord As New TXTextControl.Proofing.IncorrectWord()
Console.WriteLine("Incorrect Word is ready for use.")Members
Constructors
| Constructor | Description |
|---|---|
| IncorrectWord | Not described in the reference. public IncorrectWord(); |
Properties
| Property | Description |
|---|---|
| Index | Gets the index of the spelled word to the corresponding collection. The first word has the index 0. (Inherited from SpelledWord.) |
| IsDuplicate | Gets a value indicating whether the spelled word is declared as incorrect, because the previous word has the same text. |
| Language | Gets a value indicating the language the incorrect word was spelled. If no specific language was defined, the property returns null. |
| Length | Gets the length of the spelled word. (Inherited from SpelledWord.) |
| Start | Gets the starting position of a spelled word. It is a zero-based index of the word's first character. (Inherited from SpelledWord.) |
| Text | Gets the text of the spelled word. (Inherited from SpelledWord.) |