GetPdfAOpenFitToWindow 

This value specifies that the viewer application should resize the document’s window to fit the size of the first displayed page or not when the output PDF/A document is opened. 

GetPdfAOpenFitToWindow (pBlackIceDEVMODE As Long) As Boolean

Input value    - pointer to the BlackIceDEVMODE structure.

Return value - the state of the Fit to window option.

-If FALSE: The viewer application doesn’t resize the document’s window to fit the size of the first displayed page when the output PDF document is opened.

- If TRUE: The viewer application resizes the document’s window to fit the size of the first displayed page when the output PDF document is opened.

 

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