print page settings
Inheritance Hierarchy
PdfPrintingNetPdfPrintPageSettings
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The PdfPrintPageSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfPrintPageSettings | Initializes a new instance of the PdfPrintPageSettings class |
Methods
Name | Description | |
---|---|---|
Copy |
Creates a new object of PdfPrintPageSettings and copies all properties
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
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 | |
---|---|---|
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