SetPdfOpenPageView

#include “BlackIceDEVMODE.h”

 

BOOL             SetPdfOpenPageView(BlackIceDEVMODE* pBlackIceDevMode, int iPageView);

Description

Sets the selected page view.   iPageView 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 iPageView                                           - the page view, can be 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