Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft