共用方式為


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

適用於

另請參閱