# ServerTextControl.MisspelledWords Property

> Gets a collection of all misspelled words in the main text of the document. Lists of misspelled words of a header or footer or of a text frame are provided through the HeaderFooter.MisspelledWords and TextFrame.MisspelledWords properties. The property value is an object of the type MisspelledWordCollection.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > ServerTextControl.MisspelledWords Property
- **421 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/misspelledwords-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/misspelledwords-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/misspelledwords-property/llms-full.txt

---

### Description

Gets a collection of all misspelled words in the main text of the document. Lists of misspelled words of a header or footer or of a text frame are provided through the [HeaderFooter.MisspelledWords](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/headerfooter/misspelledwords-property/llms-full.txt) and [TextFrame.MisspelledWords](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/textframe/misspelledwords-property/llms-full.txt) properties. The property value is an object of the type [MisspelledWordCollection](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/misspelledwordcollection/llms-full.txt).

### Syntax

```csharp
public MisspelledWordCollection MisspelledWords { get; }
```

```vbnet
Public ReadOnly Property MisspelledWords As MisspelledWordCollection
```

### Examples

The following example iterates through the misspelled words collection and processes each misspelled word.

```csharp
foreach (MisspelledWord misspelledWord in textControl.MisspelledWords)
{
    Console.WriteLine(misspelledWord.IsDuplicate);
}
```

```vbnet
For Each misspelledWord As MisspelledWord In textControl.MisspelledWords
    Console.WriteLine(misspelledWord.IsDuplicate)
Next
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [ServerTextControl.Load Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/load-method/llms-full.txt)
- **Next:** [ServerTextControl.OnAdaptFont Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/onadaptfont-method/llms-full.txt)
