Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PrintPreviewDialog.Document Property

Definition

Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms.dll
Source:
PrintPreviewDialog.cs
Source:
PrintPreviewDialog.cs
Source:
PrintPreviewDialog.cs
Source:
PrintPreviewDialog.cs
Source:
PrintPreviewDialog.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the document to preview.

public:
 property System::Drawing::Printing::PrintDocument ^ Document { System::Drawing::Printing::PrintDocument ^ get(); void set(System::Drawing::Printing::PrintDocument ^ value); };
public System.Drawing.Printing.PrintDocument Document { get; set; }
public System.Drawing.Printing.PrintDocument? Document { get; set; }
member this.Document : System.Drawing.Printing.PrintDocument with get, set
Public Property Document As PrintDocument

Property Value

The PrintDocument representing the document to preview.

Remarks

This property is equivalent to PrintPreviewControl.Document.

Applies to

See also


Feedback

Was this page helpful?