Provides data for the PrintDocument.PrintPage event.
See Also: PrintPageEventArgs Members
The PrintPageEventArgs.MarginBounds property retrieves the rectangular area that represents the portion of the page between the margins. The PrintPageEventArgs.PageBounds property retrieves the rectangular area that represents the total area of the page. The PrintPageEventArgs.Graphics property defines the graphics object with which to do the painting. The PrintPageEventArgs.PageSettings property retrieves the printer settings for the current page. The remaining properties indicate whether a print job should be canceled or whether a print job has more pages.
For more information about printing with Windows Forms, see the System.Drawing.Printing namespace overview. If you wish to print from a Windows Presentation Foundation application, see the System.Printing namespace.