GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainSetRotation Method
The angle of rotation in degrees.





In This Topic
TwainSetRotation Method (GdPictureImaging)
In This Topic
Asks to the opened source to rotate the scanned image data prior to transfer.
Syntax
'Declaration
 
Public Function TwainSetRotation( _
   ByVal Rotation As Integer _
) As Boolean
public bool TwainSetRotation( 
   int Rotation
)
public function TwainSetRotation( 
    Rotation: Integer
): Boolean; 
public function TwainSetRotation( 
   Rotation : int
) : boolean;
public: bool TwainSetRotation( 
   int Rotation
) 
public:
bool TwainSetRotation( 
   int Rotation
) 

Parameters

Rotation
The angle of rotation in degrees.

Return Value

TRUE if success, 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