The SinglePdfDocumentPrintSettings type exposes the following members.
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