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.
Public Function TwainGetRotation() As Double
public double TwainGetRotation()
public function TwainGetRotation(): Double; 
public function TwainGetRotation() : double;
public: double TwainGetRotation(); 
double TwainGetRotation(); 

Return Value

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


GdPictureImaging Class
GdPictureImaging Members
TwainGetState Method
TwainIsRotationAvailable Method
TwainSetRotation Method