TXTextControl.CurrentPages Property

Returns the number of pages contained in the current document.

Syntax

TXTextControl.CurrentPages

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.

Data Types

Long.

Limitations

Read only, run time only.

Example

See PrintPage method example.

See Also