Skip to main content

TCustomdxComponentPrinter.OnCustomDrawPageHeader Event

Occurs when drawing a page header.

Declaration

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