ImageGear for C and C++ on Windows v19.10 - Updated
IG_ISIS_TAG_SCANAHEAD_MAXPAGES
API Reference Guide > ISIS Component API Reference > ISIS Component Tags Reference > Scanning Mode Tags > IG_ISIS_TAG_SCANAHEAD_MAXPAGES

Maximum number of pages to scan ahead. 0x057C  1404

IG_ISIS_TAG_SCANAHEAD_MAXPAGES holds the maximum number of pages a user wants to scan.

Type:

IG_ISIS_TAG_TYPE_SHORT

Drivers:

Drivers for scanners that support ScanAhead.

Values:

An integer specifying the maximum number of pages to scan ahead. A value of zero means scan until the feeder is empty. Some scanners (such as the Kodak ImageLink models) only support a value of zero because there is no way to tell the scanner how many pages to scan.

Setting IG_ISIS_TAG_SCANAHEAD_MAXPAGES does not prevent a IG_ISIS_run_zone call from scanning a page after the specified number of pages have been scanned ahead. Your code must be designed to stop calling IG_ISIS_run_zone at this point if you indeed want to stop scanning.

See Also

IG_ISIS_TAG_SCANAHEAD_PAGES

IG_ISIS_TAG_SCANAHEAD