NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PrintPageEventArgs Constructor

Initializes a new instance of the PrintPageEventArgs class.

[Visual Basic]
Public Sub New( _
   ByVal graphics As Graphics, _
   ByVal marginBounds As Rectangle, _
   ByVal pageBounds As Rectangle, _
   ByVal pageSettings As PageSettings _
)
[C#]
public PrintPageEventArgs(
   Graphics graphics,
   Rectangle marginBounds,
   Rectangle pageBounds,
   PageSettings pageSettings
);
[C++]
public: PrintPageEventArgs(
   Graphics* graphics,
   Rectangle marginBounds,
   Rectangle pageBounds,
   PageSettings* pageSettings
);
[JScript]
public function PrintPageEventArgs(
   graphics : Graphics,
   marginBounds : Rectangle,
   pageBounds : Rectangle,
   pageSettings : PageSettings
);

Parameters

graphics
The Graphics used to paint the item.
marginBounds
The area between the margins.
pageBounds
The total area of the paper.
pageSettings
The PageSettings for the page.

See Also

PrintPageEventArgs Class | PrintPageEventArgs Members | System.Drawing.Printing Namespace | Graphics | Rectangle