Description
Read-only. Returns the total number of pages in the batch. This property always returns a value of one in Preview or Interactive Processing mode.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application, Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.TotalBatchPages [bIncludeAttachments], [ bIncludeDeleted ]
Parameters
Object is a reference to the Application or Form object. For more information, see Application Object (page Application Object) or Form Object (page Form Object).
TotalBatchPages is the command.
bIncludeAttachments is an optional parameter. When set to True (the default), attachment pages are included in the page count. When set to False, attachment pages are not included in the count.
bIncludeDeleted is an optional parameter. When set to True (the default), deleted pages are included in the page count. When set to False, deleted pages are not included in the count.
Example