PrintPreviewDialog.Document 属性

定义

获取或设置要预览的文档。

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

属性值

PrintDocument

PrintDocument,它表示要预览的文档。

注解

此属性等效于 PrintPreviewControl.Document.

适用于

另请参阅