GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TwainIsAutomaticRotationAvailable Method





In This Topic
TwainIsAutomaticRotationAvailable Method (GdPictureImaging)
In This Topic
Asks to the opened source if she can support the Automatic rotation of images capability. This capability depends on intelligent features within the Source to automatically rotate the image to the correct position.
Syntax
'Declaration
 
Public Function TwainIsAutomaticRotationAvailable() As Boolean
public bool TwainIsAutomaticRotationAvailable()
public function TwainIsAutomaticRotationAvailable(): Boolean; 
public function TwainIsAutomaticRotationAvailable() : boolean;
public: bool TwainIsAutomaticRotationAvailable(); 
public:
bool TwainIsAutomaticRotationAvailable(); 

Return Value

TRUE if support the Automatic 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