System.Drawing.Printing.PrinterSettings.PaperSizes Property

Gets the paper sizes that are supported by this printer.

Syntax

public PrinterSettings.PaperSizeCollection PaperSizes { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Drawing.Printing.PrinterSettings.PaperSizeCollection contains System.Drawing.Printing.PaperSize instances that represent the paper sizes through the PaperSize.Kind property, which contains one of the System.Drawing.Printing.PaperKind values.

Typically, you set a page's paper size through the PageSettings.PaperSize property to a valid System.Drawing.Printing.PaperSize available through the PrinterSettings.PaperSizes collection.

To 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