GdPicture.NET Reference Guide
TwainIsAutoSizeAvailable Method (GdPictureImaging)





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

Return Value

TRUE if support the auto-size images, 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
TwainSetAutoSize Method
TwainIsAutoSizeEnabled Method