PrintPreviewDialog::Document Property

 

Gets or sets the document to preview.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property PrintDocument^ Document {
	PrintDocument^ get();
	void set(PrintDocument^ value);
}

Property Value

Type: System.Drawing.Printing::PrintDocument^

The PrintDocument representing the document to preview.

This property is equivalent to PrintPreviewControl::Document.

.NET Framework
Available since 1.1
Return to top
Show: