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.
public Boolean TwainSetOrientation( TwainOrientation Orientation );
Public Function TwainSetOrientation( ByVal Orientation As TwainOrientation ) As Boolean
|
Parameters |
Description |
|
Orientation |
The image orientation mode. A member of the TwainOrientation enumeration. |
TRUE if success, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.
Before using this function check that the TWAIN state is TWAIN_SOURCE_OPEN (4)
To get the TWAIN state, use the TwainGetState() function.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|