GetAcquirePages

#include "BIDIB.H"

 

int CALLBACK GetAcquirePages()

Description

Returns the number of pages to scan with the Acquire function. In order to set this value use the SetAcquirePages function. If this value is 1, the scanner will scan only one page. You can use this function for specifying batch scanning. If the feeder has automatic document feeder set CAP_FEEDERENABLED and CAP_AUTOFEEDto TRUE for scanning from feeder. Use the SetAcquirePages function to set the number of pages to scan. When you call the Acquire function, the scanner will scan the specified pages from the ADF. If GetAcquirePages returns 0, the Acquire function will scan all of the pages from the feeder.

Parameters

Return values

            The number of pages to scan.

Requirements

Header :     Declared in BiTwain.h; include BiTwain.h

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.