DTWAIN_EnableAutoScan |
Top Previous Next |
The DTWAIN_EnableAutoScan function determines whether the document feeder will be used to acquire images.
DTWAIN_BOOL DTWAIN_EnableAutoScan (
Parameters Source An open TWAIN Source.
bEnable Determines whether to turn on or off the automatic document scanning.
Return Values The return value is TRUE if successful. Otherwise FALSE is returned.
Comments The DTWAIN_EnableAutoScan function determines whether to use a scanner's auto-scan feature. The auto-scan feature allows a scanner to process pages much faster. Using autoscan, the device is able to capture the images without waiting for DTWAIN to request the image transfers. Usually, autoscan is supported for high-speed scanners.
If bEnable is TRUE, the autoscan is used. If bEnable is FALSE, the automatic feeding capabilities are turned off for scanners that support turning of the autoscan mode. Some scanners may always have autoscan enabled, therefore autoscan can never be disabled. If Autoscan is not supported, DTWAIN_EnableAutoScan will return FALSE.
TWAIN State Transitions The Source must be in State 4 or higher
Prerequisite Function Call(s) DTWAIN Source Selection Function
See Also Automatic Document Feeder Support
|