Click or drag to resize

DeviceThreshold 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.4.0.9.0.377 (.NET 4.5.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