Click or drag to resize

Device.BitDepth Property

Gets or sets the bit depth for the acquisition.

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

Property Value

Type: Int32
The bit depth for the acquisition.
Exceptions
ExceptionCondition
Thrown if a connection to the device is not open.
Remarks
You should set the PixelType property before setting the bit depth. For a list of valid bit depth values supported by a device use the GetSupportedBitDepths() method.
See Also