The TWAIN standard *says* that the range for this cap is -1000 ... +1000.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainSetContrast Method

TwainSetContrast Method (GdPictureImaging)

In This Topic
Tries to set the current contrast for the next acquisition.
Syntax
'Declaration
 
Public Function TwainSetContrast( _
   ByVal Contrast As Integer _
) As Boolean
public bool TwainSetContrast( 
   int Contrast
)
public function TwainSetContrast( 
    Contrast: Integer
): Boolean; 
public function TwainSetContrast( 
   Contrast : int
) : boolean;
public: bool TwainSetContrast( 
   int Contrast
) 
public:
bool TwainSetContrast( 
   int Contrast
) 

Parameters

Contrast
The TWAIN standard *says* that the range for this cap is -1000 ... +1000.

Return Value

True if success, else False -> 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