# PageCount Property

> Returns the number of pages the TXTextControl document contains, at least one for an empty document; a read-only Long property available at run time only.

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

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagecount-property/#syntax)
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagecount-property/#data-types)
- [Limitations](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagecount-property/#limitations)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagecount-property/#see-also)

---

## Nearby

- **Previous:** [PageChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagechanged-event/llms.txt)
- **Next:** [PageFormatChange Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageformatchange-event/llms.txt)
