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





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainSetBrightness Method

TwainSetBrightness Method (GdPictureImaging)

In This Topic
Tries to set the current brightness for the next acquisition.
Syntax
'Declaration

 

Public Function TwainSetBrightness( _

   ByVal Brightness As Integer _

) As Boolean
public bool TwainSetBrightness( 

   int Brightness

)
public function TwainSetBrightness( 

    Brightness: Integer

): Boolean; 
public function TwainSetBrightness( 

   Brightness : int

) : boolean;
public: bool TwainSetBrightness( 

   int Brightness

) 
public:

bool TwainSetBrightness( 

   int Brightness

) 

Parameters

Brightness
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