PrintPreviewDialog.Document PrintPreviewDialog.Document PrintPreviewDialog.Document PrintPreviewDialog.Document Property

定义

获取或设置要预览的文档。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; }
member this.Document : System.Drawing.Printing.PrintDocument with get, set
Public Property Document As PrintDocument

属性值

PrintDocument,它表示要预览的文档。The PrintDocument representing the document to preview.

注解

此属性与等效PrintPreviewControl.DocumentThis property is equivalent to PrintPreviewControl.Document.

适用于

另请参阅