# Javascript: TXTextControl.isHyphenationEnabled Property

> Obsolete. This property will be removed in one of the next versions. Use the setter and getter methods instead. Gets or sets a value indicating whether hyphenation is active or not.

> **Note:** This is deprecated and should not be used in new work.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.isHyphenationEnabled Property
- **231 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/ishyphenationenabled-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/ishyphenationenabled-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/ishyphenationenabled-property/llms-full.txt

---

### Description

`Obsolete. This property will be removed in one of the next versions.` Use the [setter](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/setishyphenationenabled-method/llms-full.txt) and [getter](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/getishyphenationenabled-method/llms-full.txt) methods instead. Gets or sets a value indicating whether hyphenation is active or not.

### Syntax

```javascript
<boolean> TXTextControl.isHyphenationEnabled
```

### Examples

The following example demonstrates `TXTextControl.isHyphenationEnabled` in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. Use the setter and getter methods instead. Gets or sets a value indicating whether hyphenation is active or not.

```javascript
const isHyphenationEnabled = tXTextControl.isHyphenationEnabled;
console.log("is hyphenation enabled:", isHyphenationEnabled);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.InsertionMode Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/insertionmode-enumeration/llms-full.txt)
- **Next:** [Javascript: TXTextControl.isLanguageDetectionEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/islanguagedetectionenabled-property/llms-full.txt)
