PrintPreviewDialog.Document Property

Definition

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