GdPicture.NET Reference Guide
TwainIsAutomaticColorAvailable Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : TwainIsAutomaticColorAvailable Method
Asks to the opened source if she can support the automatic color detection capability.
Syntax
'Declaration
 
Public Function TwainIsAutomaticColorAvailable() As Boolean
public bool TwainIsAutomaticColorAvailable()
public function TwainIsAutomaticColorAvailable(): Boolean; 
public function TwainIsAutomaticColorAvailable() : boolean;
public: bool TwainIsAutomaticColorAvailable(); 
public:
bool TwainIsAutomaticColorAvailable(); 

Return Value

TRUE if support the automatic color detection, 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

Reference

GdPictureImaging Class
GdPictureImaging Members
TwainGetState Method
TwainIsAutomaticColorEnabled Method
TwainSetAutomaticColor Method