Settings for printing single PDF document. To be used with MultiPdfDocumentPrintSettings
Inheritance Hierarchy
PdfPrintingNetSinglePdfDocumentPrintSettings
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The SinglePdfDocumentPrintSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SinglePdfDocumentPrintSettings(Byte, String) |
Print settings for single PDF document.
| |
SinglePdfDocumentPrintSettings(String, String) |
Print settings for single PDF document.
|
Methods
Name | Description | |
---|---|---|
Dispose |
Dispose and clean.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize |
Destructor.
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AllowCustomSize |
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.
| |
CustomScale |
Scales the content to the specified value.
To be used, the value of Scale must be set to CustomScale.
Default value is 100%.
| |
IsAutoRotate |
Autorate content to portrait / landscape based on content and paper size?
| |
IsContentCentered |
Center content?
| |
IsLandscape |
Is landscape?
| |
Margins |
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).
| |
PageAutoSize |
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 | |
Pages |
List of pages to be printed. If empty, all pages will be printed.
| |
PaperSize |
Printing paper size.
If not set, default printer settings will be used.
See also: PageAutoSize | |
PaperSource |
Printing Paper source
| |
Password |
Password of PDFDocument
| |
PrinterResolution |
Printing Printer resolution
| |
PrinterSettings |
PrinterSettings used for printing PDF Document.
NOTE: The PrinterName must match the one used in
PrinterSettings, otherwise an exception will be thrown.
| |
PrintInColor |
Print in color?
| |
RangeType |
Print just Even, just Odd or both type of pages.
| |
Rotation | ||
Scale |
Content scaling - None, Fit to margins, Shrink to margins or Custom scale
| |
Watermark |
Watermak to be added.
|
See Also