See Also: PaperSize Members
This class is used by the PrinterSettings.PaperSizes and PageSettings.PaperSize properties to get the paper sizes that are available on the printer and to set the paper size for a page, respectively.
You can use the erload:System.Drawing.Printing.PaperSize.#ctor constructor to specify a custom paper size. The PaperSize.Width and PaperSize.Height property values can be set only for custom System.Drawing.Printing.PaperSize objects.
For more information about printing, see the System.Drawing.Printing namespace overview.