Class PageSettings
PageSettings class
Specifies settings that apply to a single, printed page.
public class PageSettings
Constructors
| Name | Description |
|---|
| PageSettings() | Initializes a new instance of the PageSettings class using the default printer. |
| PageSettings(PrinterSettings) | Initializes a new instance of the PageSettings class using the specified printer. |
Properties
| Name | Description |
|---|
| Bounds { get; } | Gets the bounds of the page, taking into account the Landscape property. |
| Color { get; set; } | Gets or sets a value indicating whether the page is printed in color. |
| IsDefaultMargins { get; } | |
| Landscape { get; set; } | Gets or sets a value indicating whether the page should be printed in landscape or portrait orientation. |
| Margins { get; set; } | Gets or sets a value indicating the margins for this page. |
| PaperSize { get; set; } | Gets or sets the paper size. |
| PaperSource { get; set; } | Gets or sets a value indicating the paper source (i.e. upper bin). |
| PrinterResolution { get; set; } | Gets or sets the printer resolution for the page. |
| PrinterSettings { get; set; } | Gets or sets the associated printer settings. |
Methods
| Name | Description |
|---|
| override ToString() | Provides some interesting information about the PageSettings in String form. |
See Also