SetPdfOpenFitToWindow

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 document is opened. 

BOOL             SetPdfOpenFitToWindow (pBlackIceDEVMODE As Long, bEnable As Boolean) As Boolean

 

pBlackIceDEVMODE          - pointer to the BlackIceDEVMODE structure.

bEnable                                

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

Return value - TRUE on success, otherwise FALSE.

 

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