IfAutomaticBorderDetection

Description

Returns or sets whether to enable the Data Source's automatic border detection feature.

Data type

bool

Default value

false

Syntax

.IfAutomaticBorderDetection = true;

Remarks

Set this property after OpenSource() and before AcquireImage().

The property works only if the device and its driver support detecting the border automatically.
You can find whether your device supports this capbility from its user manual.

If the value of this property is true, the Data Source (scanner) will automatically detect the border of the document on the flatbed and will only scan the area within the border.

When an error occurs, check ErrorCode or ErrorString for error information.