System.Drawing.Printing.PageSettings.PaperSize Property

Gets or sets the paper size for the page.

Syntax

public PaperSize PaperSize { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

A System.Drawing.Printing.PaperSize represents the size of the paper through the PaperSize.Kind property, which contains one of the System.Drawing.Printing.PaperKind values.

Set the PageSettings.PaperSize property for the page to a valid System.Drawing.Printing.PaperSize, available through the PrinterSettings.PaperSizes collection.

For information about how you can specify a custom paper size, see the PaperSize.#ctor constructor.

Requirements

Namespace: System.Drawing.Printing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0