SetPdfOpenMagnification

Sets the selected zoom mode.   This value specifies the zoom settings what are used in the viewer when opening the printed PDF document.  

SetPdfOpenMagnification ((pBlackIceDEVMODE As Long, lMagnification As Long) As Boolean

Input value    - pointer to the BlackIceDEVMODE structure.

- one of the following values:
0: Use the PDF viewer’s default zoom settings
1: Scale the PDF to fit to the width of the viewing screen
2: Scale the PDF to fit to the height of the viewing screen.
3: Scales the PDF to fit to the height and width of the viewing window.
4: Uses the custom zoom percentage of the opened PDF in the PDF viewer. The custom zoom percentage value can be returned by the GetPdfOpenZoom function

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