編輯

共用方式為


PrintDialog.PrinterSettings Property

Definition

Gets or sets the printer settings the dialog box modifies.

public:
 property System::Drawing::Printing::PrinterSettings ^ PrinterSettings { System::Drawing::Printing::PrinterSettings ^ get(); void set(System::Drawing::Printing::PrinterSettings ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Drawing.Printing.PrinterSettings PrinterSettings { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.PrinterSettings : System.Drawing.Printing.PrinterSettings with get, set
Public Property PrinterSettings As PrinterSettings

Property Value

The PrinterSettings the dialog box modifies.

Attributes

Remarks

The PrinterSettings property must be set before you call ShowDialog or an exception will occur.

Applies to

See also