DTWAIN_IsOrientationSupported
The DTWAIN_IsOrientationSupported function checks if a Source supports setting the orientation of an acquired image.
DTWAIN_BOOL DTWAIN_IsOrientationSupported (
Parameters Source Specifies an open TWAIN Source.
Orientation Specifies orientation to test, or DTWAIN_ANYSUPPORT
Return Values If setting the page orientation is supported for the Source, TRUE is returned. Otherwise FALSE is returned.
Comments The DTWAIN_IsOrientationSupported function takes the open Source Source, and checks to see if the orientation setting Orientation is supported. The Orientation value can be any one of the Orientation Constants. If Orientation is DTWAIN_ANYSUPPORT, DTWAIN_IsOrientationSupported returns whether the Source supports any orientation
TWAIN State Transitions The source must be opened in State 4
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also |