Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Twain.SetAutomaticBorderDetection

Whether to enable automatic border detection when next scan starts.

Component Version macOS Windows Linux Server iOS SDK
Twain 3.3 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Twain.SetAutomaticBorderDetection"; Value )   More

Parameters

Parameter Description Example
Value The new settings. Can be 1 to enable automatic border detection or 0 to disable. 0

Result

Returns OK.

Description

Whether to enable automatic border detection when next scan starts.
This value is stored and next time you call Acquire the plugin will ask the scanner to enable/disable automatic border detection. If the scanner does not support automatic border detection, the scanner will ignore this setting and set it back to -1.
0 = off, 1 = on, -1 = default/undefined.

See also

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 18th August 2014


Twain.SetAutofeed - Twain.SetAutomaticBrightness