Initializes a new instance of the PrintDialog class.
[Visual Basic] Public Sub New() [C#] public PrintDialog(); [C++] public: PrintDialog(); [JScript] public function PrintDialog();
When you create an instance of PrintDialog, the following read/write properties are initialized.
Property | Initial Value |
---|---|
AllowSomePages | false |
AllowPrintToFile | true |
AllowSelection | false |
Document | a null reference (in Visual Basic Nothing) |
PrinterSettings | false |
PrintToFile | a null reference (Nothing) |
ShowHelp | false |
ShowNetwork | true |
You can change the value for any of these properties through a separate call to the property.
PrintDialog Class | PrintDialog Members | System.WinForms Namespace | PrintDocument | PrinterSettings | CommonDialog