DTWAIN_SetPDFOrientation
|
The DTWAIN_SetPDFOrientation sets the page orientation of an acquired PDF file.
DTWAIN_BOOL DTWAIN_SetPDFOrientation (
Parameters Source An open TWAIN Source.
lpszOrientation Page orientation.
Return Values TRUE if successful, FALSE otherwise. If the function returns FALSE, call DTWAIN_GetLastError() to get extended information.
Comments The DTWAIN_SetPDFOrientation sets the page orientation of a PDF file. The Orientation must be either DTWAIN_PDF_PORTRAIT or DTWAIN_PDF_LANDSCAPE. By default, the orientation used is DTWAIN_PDF_PORTRAIT.
The orientation is not used if DTWAIN_SetPDFPageSize has been called with the DTWAIN_PDF_VARIABLEPAGE flag.
TWAIN State Transitions The Source must be in State 4. or higher
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also PDF File Options
|