# WordWrapMode Property

> Returns or sets how words too long for a line are handled: 0 hides the characters behind an overflow mark, 1 wraps them to the next line (default).

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > WordWrapMode Property
- **179 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/wordwrapmode-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/wordwrapmode-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/wordwrapmode-property/llms-full.txt

---

This property returns or sets the mode how Text Control handles word wrapping in lines without space or other word breaking characters. If a single word is too large to fit in a line Text Control either displays the not fitting characters in the following line or hides these characters and displays an overflow mark (a vertical line).

### Syntax

```vbscript
TXTextControl.WordWrapMode [= Mode]
```

| Setting | Description |
|---|---|
| 0 - Line overflow | Hides characters that do not fit on a line and displays an overflow mark. |
| 1 - Word wrapping | (Default) Displays the remaining characters of a word that do not fit on a line, on the next line. |

### Data Types

Integer.

### See Also

- [Programming Category: Control Settings](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/control-settings/llms-full.txt)

---

## Nearby

- **Previous:** [WidowOrphanLines Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/widoworphanlines-property/llms-full.txt)
- **Next:** [XMLEditMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/xmleditmode-property/llms-full.txt)
