# ServerTextControl.IsHyphenationEnabled Property

> Gets or sets a value indicating whether hyphenation is active or not. If hyphenation is enabled, a word at the end of a line is automatically divided with a connected spell checking component. A spell checking component can be connected with the SpellChecker property. Additionally, the ServerTextControl.HyphenateWord event is raised with the calculated divide position. This position can be changed through a connected event handler.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 20.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.IsHyphenationEnabled Property
- **477 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/ishyphenationenabled-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/ishyphenationenabled-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/ishyphenationenabled-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether hyphenation is active or not. If hyphenation is enabled, a word at the end of a line is automatically divided with a connected spell checking component. A spell checking component can be connected with the [SpellChecker](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/spellchecker-property/llms-full.txt) property. Additionally, the [ServerTextControl.HyphenateWord](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/hyphenateword-event/llms-full.txt) event is raised with the calculated divide position. This position can be changed through a connected event handler.

### Syntax

```csharp
public bool IsHyphenationEnabled { get; set; }
```

```vbnet
Public Property IsHyphenationEnabled As Boolean
```

### Examples

The following example uses `ServerTextControl.IsHyphenationEnabled` to enable automatic word hyphenation. The configured value is checked before the workflow continues.

```csharp
textControl.IsHyphenationEnabled = true;
if (textControl.IsHyphenationEnabled)
{
    Console.WriteLine("Server Text Control: Is Hyphenation Enabled is enabled.");
}
```

```vbnet
textControl.IsHyphenationEnabled = True
If textControl.IsHyphenationEnabled Then
    Console.WriteLine("Server Text Control: Is Hyphenation Enabled is enabled.")
End If
```

---

## Nearby

- **Previous:** [ServerTextControl.IsFormulaCalculationEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/isformulacalculationenabled-property/llms-full.txt)
- **Next:** [ServerTextControl.IsLanguageDetectionEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/servertextcontrol/islanguagedetectionenabled-property/llms-full.txt)
