# KeepLinesTogether Property

> Gets or sets whether a page break is allowed within a paragraph of a formatting style: True keeps all lines of the paragraph together on one page.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > Style > KeepLinesTogether Property
- **87 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/style/keeplinestogether-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/style/keeplinestogether-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/style/keeplinestogether-property/llms-full.txt

---

Gets or sets a value indicating whether a page break is allowed within a paragraph. If the property's value is true, a page break is not allowed. Otherwise, it is allowed.

Introduced: 13.0.

### Syntax

```vbscript
Style.KeepLinesTogether [= boolean]
```

### See Also

- [Programming Category: Stylesheet Programming](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/stylesheet-programming/llms-full.txt)

---

## Nearby

- **Previous:** [IndentT Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/indentt-property/llms-full.txt)
- **Next:** [KeepWithNext Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/keepwithnext-property/llms-full.txt)
