System.Drawing.Printing.PageSettings Members

The members of System.Drawing.Printing.PageSettings are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Drawing.Printing.PageSettings class using the default printer.

Initializes a new instance of the System.Drawing.Printing.PageSettings class using a specified printer.

Public Properties

[read-only]
BoundsSystem.Drawing.Rectangle.

Gets the size of the page, taking into account the page orientation specified by the PageSettings.Landscape property.

Colorbool.

Gets or sets a value indicating whether the page should be printed in color.

[read-only]
HardMarginXfloat.

Gets the x-coordinate, in hundredths of an inch, of the hard margin at the left of the page.

[read-only]
HardMarginYfloat.

Gets the y-coordinate, in hundredths of an inch, of the hard margin at the top of the page.

Landscapebool.

Gets or sets a value indicating whether the page is printed in landscape or portrait orientation.

MarginsMargins.

Gets or sets the margins for this page.

PaperSizePaperSize.

Gets or sets the paper size for the page.

PaperSourcePaperSource.

Gets or sets the page's paper source; for example, the printer's upper tray.

[read-only]
PrintableAreaSystem.Drawing.RectangleF.

Gets the bounds of the printable area of the page for the printer.

PrinterResolutionPrinterResolution.

Gets or sets the printer resolution for the page.

PrinterSettingsPrinterSettings.

Gets or sets the printer settings associated with the page.

Public Methods

Clone() : object

Creates a copy of this System.Drawing.Printing.PageSettings.

CopyToHdevmode(IntPtr)

Copies the relevant information from the System.Drawing.Printing.PageSettings to the specified DEVMODE structure.

SetHdevmode(IntPtr)

Copies relevant information to the System.Drawing.Printing.PageSettings from the specified DEVMODE structure.

override
ToString() : string

Converts the System.Drawing.Printing.PageSettings to string form.