In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainIsGammaAvailable Method

TwainIsGammaAvailable Method (GdPictureImaging)

In This Topic
Asks to the opened source if she can support the gamma correction capability.
Syntax
'Declaration
 
Public Function TwainIsGammaAvailable() As Boolean
public bool TwainIsGammaAvailable()
public function TwainIsGammaAvailable(): Boolean; 
public function TwainIsGammaAvailable() : boolean;
public: bool TwainIsGammaAvailable(); 
public:
bool TwainIsGammaAvailable(); 

Return Value

TRUE if support gamma correction, 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