MisspelledWord Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Initializes a new instance of the MisspelledWord class with the specified starting position and length.
Syntax
public MisspelledWord(int start, int length);Public Sub New(start As Integer, length As Integer)Parameters
| Parameter | Description |
|---|---|
| start | Specifies the starting position of the misspelled word. It is a one-based index of the word's first character. |
| length | Specifies the length of the misspelled word. |
Examples
The following example creates a Misspelled Word instance and configures its is duplicate setting for a document workflow.
MisspelledWord misspelledWord = new(1, 1);
misspelledWord.IsDuplicate = true;Dim misspelledWord As New MisspelledWord(1, 1)
misspelledWord.IsDuplicate = True