CurrentBatchPage (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 page number for the current data image, relative to the batch.

This method is often used with TotalBatchPages to trigger an event. For more information, seeTotalBatchPages (Property) (page TotalBatchPages (Property)).

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.CurrentBatchPage (bIncludeAttachmnents)

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).

CurrentBatchPage is the command.

bIncludeAttachmnents is a boolean parameter which is set to True by default. When set to True, the CurrentBatchPage property includes attachments in the page count. If set to False, attachment pages are not included in the count.

Example

nPageNo = Application.CurrentBatchPage