Skip to main content

PagePaintEventArgs Class

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.1.Core.dll

Declaration

public class PagePaintEventArgs :
    EventArgs

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PagePaintEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
PagePaintEventArgs
See Also