#include “BlackIceDEVMODE.h”
BOOL SetPdfAOpenPageLayout(BlackIceDEVMODE* pBlackIceDevMode, int iPageLayout);
Description
Sets the selected page layout. iPageLayout specifies how the pages of the printed multipage PDF/A document will be displayed in the PDF viewer.
Parameters
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure.
int iPageLayout - the page layout, can be one of the following values:
BLF_PDF_OPEN_PAGE_LAYOUT_DEFAULT // 0: The printed PDF will use the PDF viewer’s settings by default.
BLF_PDF_OPEN_PAGE_LAYOUT_SINGLE // 1: The PDF viewer application displays only one page at the time on the screen.
BLF_PDF_OPEN_PAGE_LAYOUT_SINGLE_CONTINUOUS // 2: The PDF viewer displays the pages in one column.
BLF_PDF_OPEN_PAGE_LAYOUT_TWO_CONTINUOUS_LEFT // 3: The PDF viewer displays the pages in two column and the odd pages are positioned to the left.
BLF_PDF_OPEN_PAGE_LAYOUT_TWO_CONTINUOUS_RIGHT // 4: The PDF viewer displays the pages in two column and the odd pages are positioned to the right.
BLF_PDF_OPEN_PAGE_LAYOUT_TWO_LEFT // 5: The PDF viewer application displays two pages next to each other at the time, and the odd pages are positioned to the left.
LF_PDF_OPEN_PAGE_LAYOUT_TWO_RIGHT // 6: The PDF viewer displays two pages next to each other at the time, and the odd pages are positioned to the right.
Return value
TRUE on success, otherwise FALSE.
Programming Notes
None
Code Example
None