DTWAIN_SetPDFPageSizeString
|
DTWAIN_SetPDFPageSizeString DTWAIN_SetPDFPageSizeStringA DTWAIN_SetPDFPageSizeStringW |
|
The DTWAIN_SetPDFPageSizeString sets the current page size of the PDF page.
DTWAIN_BOOL DTWAIN_SetPDFPageSize (
Parameters Source An open TWAIN Source.
PageSize The current page size,
CustomWidth Custom width in points.
CustomHeight Custom height in points.
Return Values TRUE if successful, FALSE otherwise. If the function returns FALSE, call DTWAIN_GetLastError() to get extended information.
Character specific versions
Comments The DTWAIN_SetPDFPageSizeString function works exactly the same way as DTWAIN_SetPDFPageSize, with the exception of the LPCTSTR parameters, which are strings that denote the values to use.
For example: DTWAIN_SetPDFPageSizeString( Source, DTWAIN_PDF_CUSTOMSIZE, "500.0", "500.0")
|