PrintDialog 构造函数

定义

初始化 PrintDialog 类的新实例。Initializes a new instance of the PrintDialog class.

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

注解

创建 PrintDialog的实例时,以下读/写属性将设置为初始值。When you create an instance of PrintDialog, the following read/write properties are set to initial values.

属性Property 初始值Initial Value
AllowSomePages false
AllowPrintToFile true
AllowSelection false
Document null
PrinterSettings null
PrintToFile false
ShowHelp false
ShowNetwork true

您可以通过对属性的单独调用来更改这些属性中的任何一个属性的值。You can change the value for any one of these properties through a separate call to the property.

适用于

另请参阅