Click or drag to resize

Device.PixelFlavor 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.5.0.0.0.156 (.NET 4.6.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