Click or drag to resize

DevicePixelFlavor Property

Gets or sets a value indicating whether the image data uses the value 0 for the darkest color or the lightest color.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public TwainPixelFlavor PixelFlavor { get; set; }

Property Value

Type: TwainPixelFlavor
A value indicating the value of 0 in the image data.
Exceptions
ExceptionCondition
Thrown if a connection to the device is not open.
Remarks
Normally this is only used for 1-bit scans, though some devices allow its use for 8-bit grayscale as well.
See Also