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





In This Topic
TwainGetContrast Method (GdPictureImaging)
In This Topic
Returns the current contrast.
Syntax
'Declaration
 
Public Function TwainGetContrast() As Integer
public int TwainGetContrast()
public function TwainGetContrast(): Integer; 
public function TwainGetContrast() : int;
public: int TwainGetContrast(); 
public:
int TwainGetContrast(); 

Return Value

If Success: The TWAIN standard *says* that the range for this cap is -1000 ... +1000. If fail, Returns -99999 -> 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