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!

PrintDialog Constructor

Initializes a new instance of the PrintDialog class.

[Visual Basic]
Public Sub New()
[C#]
public PrintDialog();
[C++]
public: PrintDialog();
[JScript]
public function PrintDialog();

Remarks

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.

See Also

PrintDialog Class | PrintDialog Members | System.WinForms Namespace | PrintDocument | PrinterSettings | CommonDialog