True to enable autobrightness, else False.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainSetAutoBrightness Method

TwainSetAutoBrightness Method (GdPictureImaging)

In This Topic
Try to enable or disable autobrightness scanning.
Syntax
'Declaration

 

Public Function TwainSetAutoBrightness( _

   ByVal AutoBrightness As Boolean _

) As Boolean
public bool TwainSetAutoBrightness( 

   bool AutoBrightness

)
public function TwainSetAutoBrightness( 

    AutoBrightness: Boolean

): Boolean; 
public function TwainSetAutoBrightness( 

   AutoBrightness : boolean

) : boolean;
public: bool TwainSetAutoBrightness( 

   bool AutoBrightness

) 
public:

bool TwainSetAutoBrightness( 

   bool AutoBrightness

) 

Parameters

AutoBrightness
True to enable autobrightness, else False.

Return Value

TRUE if successful, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is TWAIN_SOURCE_OPEN (4) To get the TWAIN state, use the TwainGetState() method.
See Also