Script functions reference > Script functions in alphabetical order > D > DocPages

DocPages
Syntax
DocPages();
Description
Returns the total number of pages in the current document. This function cannot be used in the pre-process phase.
Returns
A number.
Example
$pages_total = docpages();
OpenText StreamServe 5.6 Updated: 2013-03-01