Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TCustomdxComponentPrinter.OnCustomDrawPageHeader Event

In This Article

Occurs when drawing a page header.

#Declaration

Delphi
property OnCustomDrawPageHeader: TdxCustomDrawPageHFEvent read; write;

#Remarks

Handle this event to draw a specific report page header for the report link specified by the AReportLink parameter.

The ACanvas parameter determines the drawing surface.

The APageIndex parameter specifies the index of the page for which the header is drawn.

The ARect parameter specifies the bound rectangle for drawing.

The ANom and ADenom parameters determine the coefficient of magnification and demagnification accordingly.

The ADefaultDrawText and ADefaultDrawBackground parameters specify whether to draw predefined header text and background accordingly.

See Also