PrintDialog.PrinterSettings 属性

定义

获取或设置对话框修改的打印机设置。

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

属性值

对话框修改的 PrinterSettings

属性

注解

必须在 PrinterSettings 调用 ShowDialog 之前设置 属性,否则会发生异常。

适用于

另请参阅