'Declaration Public Event PrintPage As PrintPageEventHandler
public event PrintPageEventHandler PrintPage
Event Data
The event handler receives an argument of type PrintPageEventArgs containing data related to this event. The following PrintPageEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the print job should be canceled. |
Graphics | Gets the System.Drawing.Graphics used to paint the page. |
HasMorePages | Gets or sets a value indicating whether an additional page should be printed. |
MarginBounds | Gets the rectangular area that represents the portion of the page inside the margins. |
PageBounds | Gets the rectangular area that represents the total area of the page. |
PageSettings | Gets the page settings for the current page. |
See Also