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

DocInsertedPages
Syntax
DocInsertedPages();
Description
Returns the number of pages inserted in the output queue within the current document. Pages are inserted either by using the InsertPage() function, or by adding an address sheet when splitting the document into more than one envelope. The function can be used at the following post-processing scripting levels:
Before and after document, process and page.
Returns
num
-1
Example
$inserted_pages = DocInsertedPages();
OpenText StreamServe 5.6 Updated: 2013-03-01