NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PageSetupDialog Constructor

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();

Remarks

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.

See Also

PageSetupDialog Class | PageSetupDialog Members | System.WinForms Namespace | Margins | PageSettings | PrintDocument | PrinterSettings | CommonDialog