GetPdfOpenPageLayout  

Returns the selected page layout.   The return value specifies how the pages of the printed multipage PDF will be displayed in the PDF viewer.

 GetPdfOpenPageLayout (pBlackIceDEVMODE As Long) As Long

Input value    - pointer to the BlackIceDEVMODE structure.
Return value - one of the following values:

0: The printed PDF will use the PDF viewer’s settings by default.
1:  The PDF viewer application displays only one page at the time on the screen.
2:  The PDF viewer displays the pages in one column.
3: The PDF viewer displays the pages in two column and the odd pages are positioned to the left.
4: The PDF viewer displays the pages in two column and the odd pages are positioned to the right.
5: The PDF viewer application displays two pages next to each other at the time, and the odd pages are positioned to the left.
6: The PDF viewer displays two pages next to each other at the time, and the odd pages are positioned to the right.

NOTE: For 32-bit applications , use pBlackIceDEVMODE as Integer, instead of Long.