Magnification property (IEpnPdfOptions)

Visual Basic example

Visual C++ example

 

Syntax

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

Elements:

Version property, LevelMajor property, LevelMinor property, Title property, Subject property, Author property, Keywords property, CompressedDocuments property, CompressedImages property, Factor property, PageMode property, PageLayout property, CustomMag property, StartPage property, CountPages property, ShowToolbar property, ShowMenu property, ShowWindowControl property, Protect property, Method property, UserPassword property, OwnerPassword property, Copy property, Edit property, Comments property, Assembly property, Print property, FaithfulPrint property, Linearized property, BookMarkFont property, EnableURLDetect property, DashedHyperlink property, ForceHyperlinkColor property, Hyperlink property, ForceEmbed property, AutoEmbed property, EmbedAll property, EmbeddedFontsCount property, Checked property, Embedable property, Fonts property, GetPrinterSaveOptions method, SetPrinterSaveOptions method, PDFOptions property

Topics:

ePrint: Getting and Setting PDF Documents Options