Click or drag to resize

PdfEncoder Properties

The PdfEncoder type exposes the following members.

Properties
  NameDescription
Public propertyBookmarkTree
Gets or sets the PDF bookmark tree that will be used with this document. Default value is null (no tree).
Public propertyCreateSelfPrintingPdf
Gets or sets a boolean indicating if the output PDF file should be self-printing
Public propertyDocumentType
Specifies the type of PDF document that will be produced, including PDF-A.
Public propertyEncryptMetadata
Sets or gets a boolean indicating that metadata should be encrypted. Default is false.
Public propertyJpeg2000Quality
Gets or sets Jpeg2000 quality value.
Public propertyJpegQuality
Gets or sets the JPEG quality used when the image compression is set to Jpeg.
Public propertyLinearized
Gets or sets a value indicating whether the pdf document will be saved as linearized.
Public propertyMetadata
Gets or sets the metadata information used for this PDF.
Public propertyMode
Gets or sets a value indicating how to compress each page.
Public propertyOwnerPassword
Sets or gets an owner password to use for the document. Default value is null (no password).
Public propertyPageBorder
Gets or sets the amount of border space around the image in PDF Page Units.
Public propertyPageSize

Gets or sets the size of the PDF pages in PDF Page Units.

PDF uses an internal resolution of 72dpi, so an 8.5 x 11 inch page would be 612 x 792 pixels.

Public propertyPermissions
Sets or gets the set of allowable actions for this PDF.
Public propertySelfPrintingShowsPrintOptions
When set to true, self-printing shows the print options dialog.
Public propertySelfPrintingShrinksToFitPage
When set to true, self-printing adjusts the content to fit the page size.
Public propertySizeMode
Gets or sets the page size mode for this PDF.
Public propertySupportedPixelFormats
Returns an array of the legal pixel formats accepted by the PdfEncoder.
(Overrides ImageEncoderSupportedPixelFormats.)
Public propertyUseAdvancedImageCompression
Allows the PdfEncoder to use JPEG2000 or JBIG2 image compression for color and black and white documents respectively.
Public propertyUseJbig2LossyCompression
Gets or sets a value indicating whether to use Lossy mode in case of Jbig2 compression.
Public propertyUserPassword
Sets or gets a user password to use for the document. Default value is null (no password).
Public propertyXmp
Gets or sets a byte array containing XMP data.
Top
See Also