This documentation is archived and is not being maintained.

PrinterSettings.PaperSizes Property

Gets the paper sizes that are supported by this printer.

[Visual Basic]
Public ReadOnly Property PaperSizes As _
public PrinterSettings.PaperSizeCollection PaperSizes {get;}
public: __property PrinterSettings.PaperSizeCollection*
public function get PaperSizes() :

Property Value

A PrinterSettings.PaperSizeCollection that represents the paper sizes that are supported by this printer.


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

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

To specify a custom paper size, see the PaperSize constructor.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PrinterSettings Class | PrinterSettings Members | System.Drawing.Printing Namespace | PaperSize | PrinterSettings.PaperSizeCollection | InstalledPrinters | PaperSources | PrinterResolutions | ListControl.DisplayMember