Initializes a new instance of the System.Drawing.Printing.PageSetupDialog class.
[Visual Basic] Public Sub New() [C#] public PageSetupDialog(); [C++] public: PageSetupDialog(); [JScript] public function PageSetupDialog();
When you create an instance of System.WinForms.PageSetuDialog, the following read/write properties are initialized.
Property | Initial Value |
---|---|
AllowMargins | true |
AllowOrientation | true |
AllowPaper | true |
AllowPrinter | true |
Document | a null reference (in Visual Basic Nothing) |
MinMargins | a null reference (Nothing) |
PageSettings | a null reference (Nothing) |
PrinterSettings | 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.
PageSetupDialog Class | PageSetupDialog Members | System.WinForms Namespace | Margins | PageSettings | PrintDocument | PrinterSettings | CommonDialog