CurrentPages Property
Returns the number of pages contained in the current document.
Syntax
TXTextControl.CurrentPages
Data Types
Long.
Examples
See PrintPage method example.
Limitations
Read only, run time only.
Remarks
The value of this property depends on the size of the text as well as on the settings of the PageHeight, PageWidth and PageMarginx properties.