GdPicture.NET Reference Guide
TwainGetRotation Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : TwainGetRotation Method
Asks to the opened source for current rotation to apply to the scanned image data prior to transfer.
Syntax
'Declaration
 
Public Function TwainGetRotation() As Double
public double TwainGetRotation()
public function TwainGetRotation(): Double; 
public function TwainGetRotation() : double;
public: double TwainGetRotation(); 
public:
double TwainGetRotation(); 

Return Value

The image rotation in degrees.
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
TwainIsRotationAvailable Method
TwainSetRotation Method