TwainSetOrientation Method (GdPictureImaging)
Asks to the opened source to define which edge of the “paper†the image’s “top†is aligned with.
This information is used to adjust the frames to match the scanning orientation of the paper.
'Declaration
Public Function TwainSetOrientation( _
ByVal As TwainOrientation _
) As Boolean
Parameters
- Orientation
- The image orientation mode. A member of the TwainOrientation enumeration.
Return Value
TRUE if success, FALSE otherwise -> Use TwainGetLastResultCode() and
TwainGetLastConditionCode() methods for diagnosing the error.