TX Text Control .NET for Windows Forms

MisspelledWord Constructor

Constructor|Introduced in 16.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Initializes a new instance of the MisspelledWord class with the specified starting position and length.

Syntax

public MisspelledWord(int start, int length);

Parameters

ParameterDescription
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;