SetPdfAOpenCenterWindow

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

SetPdfAOpenCenterWindow (pBlackIceDEVMODE As Long, bEnable As Boolean) As Boolean

 

pBlackIceDEVMODE          - pointer to the BlackIceDEVMODE structure.

bEnable                                

- 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.

Return value - TRUE on success, otherwise FALSE.

 

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