Description This method specifies the number of pages to scan. If MultiPage is FALSE, the filenames will be indexed. For example the parameter of the Acquire method is test.bmp the scanned images will be test00001.bmp, test00002.bmp and so on. If MultiPage is TRUE and the image file format is multipage TIFF file, the scanner will generate the specified multipage TIFF file. If the image file format is not multipage TIFF the image file will be overwritten. You can use this method for specifying batch scanning. If the feeder has automatic document feeder set CAP_FEEDERENABLED and CAP_AUTOFEED to TRUE for scanning from feeder. Use the SetAcquirePages method to set number of pages to scan. When you call Acquire method, the scanner will scan the specified pages from the ADF. If the GetAcquirePages returns 0 the Acquire method will scan all pages from the feeder.
Usage [form.]TWAIN. SetAcquirePages Pages MultiPage
Returns
Remarks Pages Short Number of pages to scan.
MultiPage Bool If this parameter is TRUE, the scanner will try to create a multipage file, otherwise the image file names will be indexed.
Programing Notes
See Also GetAcquirePages Method