PagePaintEventArgs Class
Provides data for the PrintingSystemBase.BeforePagePaint and PrintingSystemBase.AfterPagePaint events.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Remarks
The PrintingSystemBase.BeforePagePaint and PrintingSystemBase.AfterPagePaint events occur before and after a specific page has been painted in a Print Preview.
A PagePaintEventArgs introduces the PagePaintEventArgs.Page property, which provides access to the page to be painted; the PagePaintEventArgs.PageRectangle property, which returns the bounds (size and location) of the page; and the PagePaintEventArgs.Graphics property, which provides access to the graphics object on which the page is painted.