CurrentDocSetPage (Method) - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License

Description

Read-only. Returns the current data image's page number in the active document set. This is used to determine if you are on the first or last page of a doc set to trigger an event.

CurrentDocSetPage always returns a value of one in Preview mode, Interactive Processing mode, or when not utilizing the document set feature.

Applicable Events

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

Syntax

object.CurrentDocSetPage [ bIncludeAttachments ]

Parameters

Object is a reference to the Form object. For more information, see Form Object (page Form Object).

CurrentBatchPage is the command.

bIncludeAttachments is an optional parameter. If a True value is passed, the CurrentDocSetPage property includes attachments in the page count. This is the default. If a False value is passed, attachment pages are not included in the count.

Example

MsgBox "Current Docset Number is " & Form.CurrentDocSetNumber