GetPdfOpenCenterWindow

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. 

GetPdfOpenCenterWindow (pBlackIceDEVMODE As Long) As Boolean

 

Input value    - pointer to the BlackIceDEVMODE structure.

Return value - the state of the Center window option.

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

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

 

 

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