DTWAIN_EnableAutoBorderDetect
The DTWAIN_EnableAutoBorderDetect function sets the automatic border detection for a TWAIN device.
DTWAIN_BOOL DTWAIN_EnableAutoBorderDetect (
Parameters Source An open TWAIN Source.
bEnable Determines whether to turn on or off the automatic border detection function of the Twain device.
Return Values The return value is TRUE if successful. Otherwise FALSE is returned.
Comments The DTWAIN_EnableAutoBorderDetect function determines whether to use the Source's automatic border detection function. When automatic border detection is enabled, the device reduces or removes the border generated around an image by the scanner scanning its own platen (the area not covered by the paper).
If bEnable is TRUE, the automatic border detection of the Source is used. If bEnable is FALSE, the automatic border detection is not used
TWAIN State Transitions The Source must be in State 4 or higher
Prerequisite Function Call(s) DTWAIN Source Selection Function
See Also |