Factor property (IEpnPdfOptions)

Visual Basic example

Visual C++ example

 

Syntax

short Factor;

Overview

Refer to Saving PDF Document Files.

Remarks

Gets or sets the compression quality factor.

Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this method.

Possible values range from 2 to 255, where the value 2 is the highest quality (which means largest file size) and the value 255 is the maximum compression (which means smallest file size). Use this property only if the value of CompressedImages is set to VARIANT_TRUE.

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, PageMode property, PageLayout property, Magnification 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