PrintPreviewDialog.Document Property
Definition
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.