GdPicture.NET Reference Guide
TwainIsAutoBrightnessAvailable Method (GdPictureImaging)

GdPicture14 Namespace > GdPictureImaging Class : TwainIsAutoBrightnessAvailable Method
Asks to the opened source if she can support the auto-brightness images capability.
Public Function TwainIsAutoBrightnessAvailable() As Boolean
public bool TwainIsAutoBrightnessAvailable()
public function TwainIsAutoBrightnessAvailable(): Boolean; 
public function TwainIsAutoBrightnessAvailable() : boolean;
public: bool TwainIsAutoBrightnessAvailable(); 
bool TwainIsAutoBrightnessAvailable(); 

Return Value

TRUE if support the auto-brightness images, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
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


GdPictureImaging Class
GdPictureImaging Members
TwainGetState Method
TwainIsAutoBrightnessEnabled Method
TwainSetAutoBrightness Method