PageSettings PageSettings PageSettings PageSettings Constructors

Definition

Overloads

PageSettings() PageSettings() PageSettings()

Initializes a new instance of the PageSettings class using the default printer.

PageSettings(PrinterSettings) PageSettings(PrinterSettings) PageSettings(PrinterSettings)

Initializes a new instance of the PageSettings class using a specified printer.

PageSettings() PageSettings() PageSettings()

Initializes a new instance of the PageSettings class using the default printer.

public:
 PageSettings();
public PageSettings ();
Public Sub New ()

Remarks

The parameterless constructor initializes all fields to their default values.

Typically, you do not create an instance of PageSettings, but instead use the PrintDocument.DefaultPageSettings to set settings for all pages.

PageSettings(PrinterSettings) PageSettings(PrinterSettings) PageSettings(PrinterSettings)

Initializes a new instance of the PageSettings class using a specified printer.

public:
 PageSettings(System::Drawing::Printing::PrinterSettings ^ printerSettings);
public PageSettings (System.Drawing.Printing.PrinterSettings printerSettings);
new System.Drawing.Printing.PageSettings : System.Drawing.Printing.PrinterSettings -> System.Drawing.Printing.PageSettings

Parameters

printerSettings
PrinterSettings PrinterSettings PrinterSettings PrinterSettings

The PrinterSettings that describes the printer to use.

Remarks

The PageSettings constructor is similar to initializing a new instance of PageSettings and setting the PrinterSettings property.

Applies to