Click or drag to resize

PdfOptions Properties

The PdfOptions type exposes the following members.

Properties
  NameDescription
Public propertyBinarizationMethod
Gets or sets the boinarization method when grayscale images are converted to black-and-white.
Public propertyCompressContent
Gets or sets a flag to compress PDF page content stream. Page content streams are normally compressed using flate algorithm. You may want to disable the compression for debugging purposes.
Public propertyDefaultPageSize
Defines the default page size when new pages are created.
Public propertyEmbedFont
Gets or sets a flag to indicate whether to embed the font descriptor in the generated PDF file.
Public propertyEncrypt
Gets or sets a flag to indicate Whether PDF file is encrypted.
Public propertyEncryptMetaData
Gets or sets a flag to indicate whether metadata is also encrypted.
Public propertyFastWebAccess
If enabled, PDF files will be linearized to make them load faster on the WEB. This was more important in the past when Internet bandwidth was limited. Cannot be used with PDF/A files.
Public propertyFileName
Gets or sets the path to the target file.
Public propertyFileVersion
Gets or sets the default PDF file version for new documents.
Public propertyFlatten
Gets or sets a value to indicate whether forms should be flatten when the document is saved or printed.
Public propertyFontFamily
Gets or sets the font family to use if text is visible.
Public propertyFullPageOcr
If set, then PDF pages will be fully rasterized and any existing text object will be lost. If not set, then only qualified image objects will be processed through OCR and the data will be merged with the page. The existing attributes will remain. Default is false.
Public propertyJpegQuality
Gets or sets the default quality when saving in JPEG format.
Public propertyMinimizeSize
Whether to minimize sizes of PDF files. Interpretation is application dependent.
Public propertyOwnerPassword
Gest or sets the password used to alter the PDF security.
Public propertyPageRange
Gets or sets the ranges of page numbers to save, or null to save all pages in the source document.
Public propertyPageTreeNodeSize
The maximum number of entries in the page tree nodes.
Public propertyPixelFormat
Gets or sets the pixel color depth when rasterizing PDF pages.
Public propertyPreventCopy
Gets or sets a flag to prevent copying of protected PDF file.
Public propertyPreventModify
Gets or sets a flag to prevent modifying of protected PDF file.
Public propertyPreventPrint
Gets or sets a flag to prevent printing of protected PDF file.
Public propertyRedactPassword
Gest or sets the password used to encrypt embedded redaction data.
Public propertyResolution
Gets or sets the desired resolution of the raster images. If set to zero, a default resolution is used based on the color depth.
Public propertySaveAsPdfA
Gets or sets a flag to save PDF documents in PDF/A-1b specification. Certain restrictions will apply to such files. For example, PDF/A files may not be encrypted or linearized.
Public propertySaveFormat
Gets or sets the format for saving PDF files.
Public propertySaveStandardWidths
Saving font descriptors and character widths are optional for the standard built-in fonts. This option controls whether font descriptors and character widths will be saved when using built-in fonts.
Public propertyThreshold
Gets or sets a color value in the range [0,255] below which a pixel is assumed black when converting to monochrome using the threshold method.
Public propertyUserPassword
Gets or sets the password used to open the PDF file.
Top
See Also