SinglePdfDocumentPrintSettings ClassTerminal Works - PDF Printing.Net Library
Settings for printing single PDF document. To be used with MultiPdfDocumentPrintSettings
Inheritance Hierarchy

SystemObject
  PdfPrintingNetSinglePdfDocumentPrintSettings

Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax

public class SinglePdfDocumentPrintSettings : IDisposable

The SinglePdfDocumentPrintSettings type exposes the following members.

Constructors

  NameDescription
Public methodSinglePdfDocumentPrintSettings(Byte, String)
Print settings for single PDF document.
Public methodSinglePdfDocumentPrintSettings(String, String)
Print settings for single PDF document.
Top
Methods

  NameDescription
Public methodDispose
Dispose and clean.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Destructor.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyAllowCustomSize
Used only in combination with PageAutoSize = true. If the PDF page size isn't found in the list of available printer paper sizes, it will try to set the custom paper size. Most virtual PDF printers support the custom paper size, and most physical printers don't. The default value is false.
Public propertyCustomScale
Scales the content to the specified value. To be used, the value of Scale must be set to CustomScale. Default value is 100%.
Public propertyIsAutoRotate
Autorate content to portrait / landscape based on content and paper size?
Public propertyIsContentCentered
Center content?
Public propertyIsLandscape
Is landscape?
Public propertyMargins
Applies the margins. Units are 1/100 inch (i.e. 100 = 1 inch). Setting Scale influences the print result. When set to None, the margins are adjusted (if needed) to preserve the actual size of the print content. And when content is smaller, existing whitespace is considered as part of margin space. For all other values, the print content size is adjusted (if needed) to preserve the specified margins. Default value is (0,0,0,0).
Public propertyPageAutoSize
If set to true, automatically sets printer paper size according to page size of each page in the PDF. Size will be set if printer supports that paper size. If successful, it will override PaperSize property. Default value is false. It doesnt't have effect in PrintWithAdobe.

See also: AllowCustomSize

Public propertyPages
List of pages to be printed. If empty, all pages will be printed.
Public propertyPaperSize
Printing paper size. If not set, default printer settings will be used.

See also: PageAutoSize

Public propertyPaperSource
Printing Paper source
Public propertyPassword
Password of PDFDocument
Public propertyPrinterResolution
Printing Printer resolution
Public propertyPrinterSettings
PrinterSettings used for printing PDF Document.

NOTE: The PrinterName must match the one used in PrinterSettings, otherwise an exception will be thrown.

Public propertyPrintInColor
Print in color?
Public propertyRangeType
Print just Even, just Odd or both type of pages.
Public propertyRotation
Public propertyScale
Content scaling - None, Fit to margins, Shrink to margins or Custom scale
Public propertyWatermark
Watermak to be added.
Top
See Also

Reference