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

适用于

另请参阅