System.Drawing.Printing.PageSettings Class

Specifies settings that apply to a single, printed page.

See Also: PageSettings Members


public class PageSettings : ICloneable


The System.Drawing.Printing.PageSettings class is used to specify settings that modify the way a page will be printed. Typically, you set default settings for all pages to be printed through the PrintDocument.DefaultPageSettings property. To specify settings on a page-by-page basis, handle the PrintDocument.PrintPage or PrintDocument.QueryPageSettings event and modify the System.Drawing.Printing.PageSettings argument included in the System.Drawing.Printing.PrintPageEventArgs or System.Drawing.Printing.QueryPageSettingsEventArgs, respectively.

For more information about handling System.Drawing.Printing.PrintDocument events, see the System.Drawing.Printing.PrintDocument class overview. For more information about printing, see the System.Drawing.Printing namespace overview.


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