Back to Devexpress

PagePaintEventArgs Class

corelibraries-devexpress-dot-xtraprinting-23d5c670.md

latest2.4 KB
Original Source

PagePaintEventArgs Class

Provides data for the PrintingSystemBase.BeforePagePaint and PrintingSystemBase.AfterPagePaint events.

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public class PagePaintEventArgs :
    EventArgs
vb
Public Class PagePaintEventArgs
    Inherits EventArgs

PagePaintEventArgs is the data class for the following events:

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.

Inheritance

Object EventArgs PagePaintEventArgs

See Also

PagePaintEventArgs Members

PagePaintEventHandler

DevExpress.XtraPrinting Namespace