PrintPageEventArgs Constructor (Graphics^, Rectangle, Rectangle, PageSettings^)
.NET Framework (current version)
Initializes a new instance of the PrintPageEventArgs class.
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
Available since 1.1
Show: