Export (0) Print
Expand All

PrintPreviewDialog.Document Property

Gets or sets the document to preview.

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

public PrintDocument Document { get; set; }

Property Value

Type: System.Drawing.Printing.PrintDocument
The PrintDocument representing the document to preview.

This property is equivalent to PrintPreviewControl.Document.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft