Gets the number of pages contained in the current document.

Introduced: X18.

<void> TXTextControl.getPageCount(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the number of pages contained in the current document.
errorCallback Optional. Is called when the operation failed with an error.