# MisspelledWord.Length Property

> Gets the length of a misspelled word.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 Windows Forms > Reference > TXTextControl > MisspelledWord.Length Property
- **513 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/misspelledword/length-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/misspelledword/length-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/misspelledword/length-property/llms-full.txt

---

### Description

Gets the length of a misspelled word.

### Syntax

```csharp
public int Length { get; }
```

```vbnet
Public ReadOnly Property Length As Integer
```

### Examples

The following example locates the first spelling issue in a short document by using `MisspelledWord.Length`.

```csharp
textControl.Text = "The quaterly report is ready.";
MisspelledWord misspelledWord = textControl.MisspelledWords.GetItem();
if (misspelledWord == null)
{
    return;
}

textControl.Select(misspelledWord.Start, misspelledWord.Length);
Console.WriteLine("Misspelled Word is ready for use.");
```

```vbnet
textControl.Text = "The quaterly report is ready."
Dim misspelledWord As MisspelledWord = textControl.MisspelledWords.GetItem()
If misspelledWord Is Nothing Then
    Return
End If

textControl.Select(misspelledWord.Start, misspelledWord.Length)
Console.WriteLine("Misspelled Word is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [MisspelledWord.IsIgnored Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/misspelledword/isignored-property/llms-full.txt)
- **Next:** [MisspelledWord.Number Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/misspelledword/number-property/llms-full.txt)
