GdPicture.NET Reference Guide
TwainIsOrientationAvailable Method (GdPictureImaging)





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

Return Value

TRUE if support image rotation, 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
TwainSetOrientation Method
TwainGetOrientation Method