GetPdfOpenPageView

#include “BlackIceDEVMODE.h”

 

BOOL             GetPdfOpenPageView (BlackIceDEVMODE* pBlackIceDevMode, int* pPageView);

Description
Returns the selected page view.   pPageView specifies whether the PDF viewer displays thumbnails, bookmarks or only pages when opening the printed PDF document.

Parameters

BlackIceDEVMODE* pDevMode              - pointer to the BlackIceDEVMODE structure.

int* pPageView                                             - pointer to the variable, that will contain one of the following values:

BLF_PDF_OPEN_PAGE_VIEW_PAGE_ONLY // 0: Displays only pages in the PDF viewer

BLF_PDF_OPEN_PAGE_VIEW_BOOKMARKS          // 1: Displays the pages and bookmarks in the PDF viewer

BLF_PDF_OPEN_PAGE_VIEW_THUMBNAILS          // 2: Displays the pages and thumbnails in the PDF viewer

BLF_PDF_OPEN_PAGE_VIEW_FULLSCREEN // 3: Opens the PDF viewer in full screen

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None