Click or drag to resize

Device.Threshold Property

Gets or sets the dividing line between black and white for 1-bit acquires.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public float Threshold { get; set; }

Property Value

Type: Single
The dividing line between black and white for 1-bit acquires.
Exceptions
ExceptionCondition
Thrown if a connection to the device is not open.
Remarks
Valid values are usually from 0 to 255. Use GetSupportedThresholdValues() to find valid values for the device.
See Also