# ServerTextControl.SpellChecker Property

> Specifies the spell checking component to be used with a ServerTextControl. The property value is null if there is no spell checking component connected. Otherwise it must be an object of the type TXSpell. When a spell checking component is connected and the IsSpellCheckingEnabled property has been set to true, the MisspelledWords collection is automatically filled with all misspelled words contained in the current document. When a spell checking component is connected and the IsHyphenationEnabled property has been set to true, a document is automatically hyphenated. If the IsLanguageDetectionEnabled property has been set to true, a language is automatically detected for all text parts with a neutral language.

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

---

### Description

Specifies the spell checking component to be used with a ServerTextControl. The property value is null if there is no spell checking component connected. Otherwise it must be an object of the type `TXSpell`. When a spell checking component is connected and the [IsSpellCheckingEnabled](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/isspellcheckingenabled-property/llms-full.txt) property has been set to true, the [MisspelledWords](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/misspelledwords-property/llms-full.txt) collection is automatically filled with all misspelled words contained in the current document. When a spell checking component is connected and the [IsHyphenationEnabled](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/ishyphenationenabled-property/llms-full.txt) property has been set to true, a document is automatically hyphenated. If the [IsLanguageDetectionEnabled](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/islanguagedetectionenabled-property/llms-full.txt) property has been set to true, a language is automatically detected for all text parts with a neutral language.

### Syntax

```csharp
public object SpellChecker { get; set; }
```

```vbnet
Public Property SpellChecker As Object
```

### Examples

The following example uses `ServerTextControl.SpellChecker` to configure spell checker as part of the server text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.SpellChecker = "Approved";
if (textControl.SpellChecker != null)
{
    Console.WriteLine("Server Text Control: Spell Checker is available.");
}
```

```vbnet
textControl.SpellChecker = "Approved"
If textControl.SpellChecker IsNot Nothing Then
    Console.WriteLine("Server Text Control: Spell Checker is available.")
End If
```

---

## Nearby

- **Previous:** [ServerTextControl.SignatureFields Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/signaturefields-property/llms-full.txt)
- **Next:** [ServerTextControl.SpellCheckText Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/spellchecktext-event/llms-full.txt)
