See Also Examples Applies To
If this option is available on opened source, try to enable or disable the automatic border detection. It reduces or removes the border generated around an image by the scanner scanning its own platen (the area not covered by the paper).
Syntax
object.TwainSetAutomaticBorderDetection (bAutoBorderDetect)
The TwainSetAutomaticBorderDetection syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| bAutoBorderDetect | Required. Boolean. |
Returns
Boolean. TRUE if successful, FALSE otherwise.
Remarks
Before using this method check that the TWAIN state is TWAIN_SOURCE_OPEN (4)
To get the TWAIN state, use the TwainGetState() method.
Category
TWAIN Capability