GetPdfOpenCenterWindow

#include “BlackIceDEVMODE.h”

 

BOOL             GetPdfOpenCenterWindow (BlackIceDEVMODE* pDevMode, BOOL* bEnable);

Description

This value specifies that the viewer should position the document’s window in the center of the screen or not when the output PDF document is opened.

Parameters

BlackIceDEVMODE* pDevMode              - pointer to the BlackIceDEVMODE structure.

BOOL* pEnable                                             - pointer to the variable, that contains the state of the Center window option:

FALSE: The viewer doesn’t  position the document’s window in the center of the screen when the output PDF document is opened.

TRUE: The viewer positions the document’s window in the center of the screen when the output PDF document is opened.

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None