# MisspelledWord Constructor

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Constructor
- **Introduced:** 16.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > MisspelledWord Constructor
- **417 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/misspelledword/constructor/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/misspelledword/constructor/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/misspelledword/constructor/llms-full.txt

---

### Description

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

### Syntax

```csharp
public MisspelledWord(int start, int length);
```

```vbnet
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.

```csharp
MisspelledWord misspelledWord = new(1, 1);
misspelledWord.IsDuplicate = true;
```

```vbnet
Dim misspelledWord As New MisspelledWord(1, 1)
misspelledWord.IsDuplicate = True
```

---

## Nearby

- **Previous:** [MisspelledWord Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/misspelledword/llms-full.txt)
- **Next:** [MisspelledWord.Culture Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/misspelledword/culture-property/llms-full.txt)
