PrintingSystemBase.AfterPagePaint Event

Occurs after a specific page has been painted in a Print Preview.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v19.2.Core.dll

Declaration

public event PagePaintEventHandler AfterPagePaint
Public Event AfterPagePaint As PagePaintEventHandler

Event Data

The AfterPagePaint event handler receives an argument of the PagePaintEventArgs type. The following properties provide information specific to this event.

Property Description
Graphics Provides access to the graphics object on which the PagePaintEventArgs.Page is painted.
Page Provides access to the page for which the PrintingSystemBase.BeforePagePaint or PrintingSystemBase.AfterPagePaint event is raised.
PageRectangle Returns the bounds (size and location) of the page for which the PrintingSystemBase.BeforePagePaint or PrintingSystemBase.AfterPagePaint event is raised.

Remarks

Handle the AfterPagePaint event to perform any specific actions before any page is painted in the Print Preview.

For more information on handling events, see Events and Delegates in MSDN.

See Also