Available in the LEADTOOLS Imaging toolkit. |
BitsPerPixel property (ILTImageResolution)
short BitsPerPixel | |
Overview |
Refer to Getting and Setting Capabilities |
Remarks
Gets or sets the bits per pixel for the acquired image(s).
This property is equivalent to the ICAP_BITDEPTH capability. There are two ways of determining the possible values for this capability:
call the QueryCapability method with pCapability. Capability set to ICAP_BITDEPTH.
call the GetCapability method (MFC) or the GetCapability2 method (VB) with pCapability. Capability set to ICAP_BITDEPTH and the IFlags parameter set to L_LTWAIN_CAPABILITY_GETVALUES.
For more information on specific TWAIN capabilities, refer to the TWAIN 1.9 specification.
This property is updated with the driver’s current setting when the GetProperties method is called.
To update the image resolution options, set this property and the other ILTImageResolution properties accessed by the ImageResolution property and call the SetProperties method.
See Also