# SectionCount Property

> Returns the number of sections the TXTextControl document contains, at least one for an empty document, as an Integer; read only and run time only.

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

---

Returns the number of sections, the document contains. An empty document has at least one section.

Introduced: 14.0.

### Syntax

```vbscript
TXTextControl.SectionCount
```

### Data Types

Integer.

### Limitations

Read only, run time only.

### See Also

- [Programming Category: Sections and Pages](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/sections-pages/llms-full.txt)

---

## Nearby

- **Previous:** [SectionChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionchanged-event/llms-full.txt)
- **Next:** [SectionCurrent Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectioncurrent-property/llms-full.txt)
