PdfPrint PropertiesTerminal Works - PDF Printing.Net Library

The PdfPrint type exposes the following members.

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 propertyCheckPrinterExistence
If set to false, it will not check for printer name existence if the non-default printer is used. This is useful in a situation where checking of the printer existence is slow due to many printers or some network printer. Default value is true.
Public propertyCollate
If set to true, it will collate the pages. If set to false, it will not collate the pages. If not set, it will use the printer default settings.
Public propertyCopies
Set the number of copies to be printed. If not selected, it will use the printer default settings.
Public propertyCustomScale
If set, it will scale the page according to the specified value. To be used, Scale must be set to CustomScale. Default value is 100%.
Public propertyDuplexType
Duplex type used in printing. If not set, it will use the printer default settings.
Public propertyInverseForm
It forces content of AdobeForm to be rendered before the page. Needed in some rare cases. It doesn't have effect in PrintWithAdobe method. Default is false.
Public propertyIsAutoRotate
If set to true, it will override selected value for IsLandscape and it will set orientation to landscape or portrait based on the content width / height. It not set it, selected value for IsLandscape will be used. It doesn't have effect in PrintWithAdobe method.
Public propertyIsContentCentered
If set to true, it will center content in standard Print method. It doesn't have effect in PrintWithAdobe method. Default value is True.
Public propertyIsLandscape
If set to true, it will print as landscape if IsAutoRotate = false. If set to false, it will print as portrait if IsAutoRotate = false. It not set, it will use the printer default settings.
Public propertyMargins
If set, it will apply 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
Defines the pages that are to be printed. If not set, it wil print all pages. If PrintWithAdobe method is used, Pages can't have more than one interval defined.
Public propertyPaperSize
What type of paper size to use? If not set, it will use the printer default settings.

See also: PageAutoSize

Public propertyPaperSource
Paper source used for printing. If not set, it will use the printer default settings.
Public propertyPaperSourceTrayInfo
List of paper source tray names and supported page sizes for that tray. It must be manully set. It is used in combination when PageAutoSize doesn't work on its own. It is ignored if PageAutoSize = false.
Public propertyPrinterName
Name of the printer used for printing. If not set, it will use the default printer.
Public propertyPrinterResolution
Printer resolution used for printing. If not set, it will use the printer default settings.
Public propertyPrintInColor
It set to true, it will print in color. If set to false, it will print as grayscale. If not set, it will use the printer default settings.
Public propertyRangeType
Range type. It not set, it will print both even and odd pages in the selected range interval.
Public propertyRotation
Public propertyScale
If set, it will scale the page according to the chosen scale type. If not set, it will use the Shrink scaling type. If PrintWithAdobe method both Shrink and FitToMargins behaves like Shrink.
Public propertySettingDialog
Use the printer settings dialog. If not set, it will not use the printer settings dialog.
Public propertyUseOldPrintingSystem
This uses .NET built-in printing API. It is (much) slower for some printers, but for some printers this is the only way it will work. Default value is false.
Public propertyWatermark
Watermark to be printed (it can be Image or Text).
Top
See Also

Reference