PrintPageEventArgs Constructor (Graphics^, Rectangle, Rectangle, PageSettings^)

 

Initializes a new instance of the PrintPageEventArgs class.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
PrintPageEventArgs(
	Graphics^ graphics,
	Rectangle marginBounds,
	Rectangle pageBounds,
	PageSettings^ pageSettings
)

Parameters

graphics
Type: System.Drawing::Graphics^

The Graphics used to paint the item.

marginBounds
Type: System.Drawing::Rectangle

The area between the margins.

pageBounds
Type: System.Drawing::Rectangle

The total area of the paper.

pageSettings
Type: System.Drawing.Printing::PageSettings^

The PageSettings for the page.

.NET Framework
Available since 1.1
Return to top
Show: