Magnification property (IEpnPdfOptions)
PDFMagnificationConstants Magnification; | |
Overview |
Refer to Saving PDF Document Files. |
Remarks
Gets or sets the magnification method to be used when the PDF document is displayed initially. Possible values are:
Value |
Meaning |
PDF_MAGNIFICATION_DEFAULT |
Use the default magnification. This is the default value. |
PDF_MAGNIFICATION_FITVISIBLE |
Fit visible. Displays the width of the visible contents of the current page in the destination window. This usually means the margins are not displayed. |
PDF_MAGNIFICATION_FITWIDTH |
Fit the width of the current page to the width of the destination window. |
PDF_MAGNIFICATION_FITINWINDOW |
Fit to window. It displays the page in the destination window. |
PDF_MAGNIFICATION_CUSTOM |
Use custom magnification. The user should pass a value to the CustomMag property. |
Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this method.
This property is used to configure the PDF document properties.
To update the value of this property with the currently used setting, call the GetPrinterSaveOptions method.
To update the PDF document properties, set this property and the other IEpnPdfOptions properties accessed by the PDFOptions property and call the SetPrinterSaveOptions method.
See Also