Click or drag to resize

DeviceGetSupportedBitDepths Method

Returns the supported bit depth values for the current PixelType.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public int[] GetSupportedBitDepths()

Return Value

Type: Int32
An array of bit depth values for the current PixelType.
Exceptions
ExceptionCondition
Thrown if a connection to the device is not open.
Thrown if there is a Twain error during processing.
Remarks
This method only returns the bit depth values supported by the current PixelType. To get all possible bit depths, call this method for each PixelType.
See Also