This property sets the number of bits per pixel in the scanned image. This property is only enabled when using a custom-built user interface.
Property Value
When the Pixeltype property
is vikScanPixelBW, the BitDepth is 1
When the Pixeltype property is
vikScanPixelGray, the BitDepth is 4, 8, 12, 14, or 16
When the Pixeltype property is
vikScanPixelRGB, the BitDepth is 24, 36, 42, or 48
When the Pixeltype property is
vikScanPixelPalette, the BitDepth is 4 or 8
When the Pixeltype property is
vikScanPixelAutomation, the BitDepth is 24
Explanation
The BitDepth property sets the number of bits per pixel in the scanned image. This property is only enabled when the UiMode property is vikScanNONUI. Note: If a digital camera image or other scan device does not support this functionality, then this property is disabled.
To retrieve the range of possible bit depth settings for a scan device, execute the GetBitDepth method. When scanning in 12, 14, 16, 36, 42, or 48 bit color, please set the TransferMode property to vikScanMemory. If an error is returned for a value that the scan device is supposed to support, please set 0 into the BitDepth property in which case the bit depth default value indicated by the PixelType property will be used.
Setting this value
This value can be set at runtime.
Retrieving this value
This value can be retrieved at runtime.