|Visual Basic (Declaration)|
Public Event PrintBackground() As PrintBackgroundEventHandler
|Visual Basic (Usage)||Copy Code|
public event PrintBackgroundEventHandler PrintBackground()
The event handler receives an argument of type PrintBackgroundEventArgs containing data related to this event. The following PrintBackgroundEventArgs properties provide information specific to this event.
|Graphics||Gets or sets the graphics device that does the printing.|
|PageNumber||Gets or sets the current page being printed.|
|SheetRectangle||Gets or sets the rectangle area representing the sheet.|
|Visual Basic||Copy Code|
This event is raised by the OnPrintBackground method before each page is printed.
For more details on the individual event arguments, refer to PrintBackgroundEventArgs members.