The PdfPrintPageSettings type exposes the following members.
Properties
Name | Description | |
---|---|---|
Bounds |
Gets the rectangular area that represents the total area of the page taking into account the Landscape property. Most printers cannot print at the very edge of the page.
| |
Color |
Gets or sets a value indicating whether the page is printed in color.
| |
CustomScale |
Gets or sets the custom scale to scale the page.
To be used, Scale must be set to CustomScale.
Default value is 100%.
| |
HardMarginX |
Gets the x-coordinate, in hundredths of an inch, of the hard margin (the physical margin set by the printer) at the left of the page.
| |
HardMarginY |
Gets the y-coordinate, in hundredths of an inch, of the hard margin (the physical margin set by the printer) at the top of the page.
| |
Landscape |
Gets or sets a value indicating whether the page should be printed in landscape or portrait orientation.
| |
Margins |
Gets or sets a value indicating the user defined margins for this page. 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).
| |
PaperSize |
Paper size
| |
PaperSource |
Gets or sets a value indicating the paper source (i.e. upper bin).
| |
PrintableArea |
A RectangleF representing the length and width, in hundredths of an inch, of the area the printer is capable of printing in.
Returns the correct value, whether the page orientation is landscape or portrait.
| |
PrinterResolution |
Gets or sets the printer resolution for the page.
| |
Scale |
Gets or sets the scale type for the page.
If not set, it will use the Shrink scaling type.
If PrintWithAdobe method both Shrink and FitToMargins behaves like Shrink.
|
See Also