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!

PrintPreviewControl Constructor

Initializes a new instance of the System.Drawing.Printing.PrintPreviewControl class.

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

Remarks

When you create an instance of System.Drawing.Printing.PrintPreviewControl, the following read/write properties are initialized.

Property Default Value
AutoZoom true
Document a null reference (in Visual Basic Nothing)
Columns 1
Rows 0
StartPage 0

You can change the value for any of these properties through a separate call to the property.

See Also

PrintPreviewControl Class | PrintPreviewControl Members | System.WinForms Namespace