GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainGetBitDepthReduction Method





In This Topic
TwainGetBitDepthReduction Method (GdPictureImaging)
In This Topic
Returns Reduction Method the Source should use to reduce the bit depth of the data.
Syntax
'Declaration
 
Public Function TwainGetBitDepthReduction() As TwainBitDepthReduction
public TwainBitDepthReduction TwainGetBitDepthReduction()
public function TwainGetBitDepthReduction(): TwainBitDepthReduction; 
public function TwainGetBitDepthReduction() : TwainBitDepthReduction;
public: TwainBitDepthReduction TwainGetBitDepthReduction(); 
public:
TwainBitDepthReduction TwainGetBitDepthReduction(); 

Return Value

Bit Depth reduction. A member of the TwainBitDepthReduction enumeration. TWBR_UNSUPPORTED If it is not supported by the current device (Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.)
Remarks
Before using this method check that the TWAIN state is 4 (TWAIN_SOURCE_OPEN) To get the TWAIN state, use the TwainGetState() method.
See Also