共用方式為


PrintPageEventArgs(Graphics, Rectangle, Rectangle, PageSettings) 建構函式

定義

初始化 PrintPageEventArgs 類別的新執行個體。

public:
 PrintPageEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle marginBounds, System::Drawing::Rectangle pageBounds, System::Drawing::Printing::PageSettings ^ pageSettings);
public PrintPageEventArgs (System.Drawing.Graphics graphics, System.Drawing.Rectangle marginBounds, System.Drawing.Rectangle pageBounds, System.Drawing.Printing.PageSettings pageSettings);
public PrintPageEventArgs (System.Drawing.Graphics? graphics, System.Drawing.Rectangle marginBounds, System.Drawing.Rectangle pageBounds, System.Drawing.Printing.PageSettings pageSettings);
new System.Drawing.Printing.PrintPageEventArgs : System.Drawing.Graphics * System.Drawing.Rectangle * System.Drawing.Rectangle * System.Drawing.Printing.PageSettings -> System.Drawing.Printing.PrintPageEventArgs
Public Sub New (graphics As Graphics, marginBounds As Rectangle, pageBounds As Rectangle, pageSettings As PageSettings)

參數

graphics
Graphics

用來繪製項目的 Graphics

marginBounds
Rectangle

邊界之間的區域。

pageBounds
Rectangle

整個頁面。

pageSettings
PageSettings

頁面的 PageSettings

適用於

另請參閱