Skip to main content

TBasedxReportLink.OnCustomDrawPageHeader Event

Enables you to custom paint page headers for the report link.

Declaration

property OnCustomDrawPageHeader: TdxCustomDrawReportLinkHFEvent read; write;

Remarks

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.

When using custom draw methods, you must manage image repainting during zoom events. It is always necessary when previewing a report and necessary only for images when printing a report. The ANom and ADenom parameters determine the coefficient of magnification and demagnification accordingly. Refer to the global FSmoothlyStretchImages variable description to learn how to paint images with anti-aliasing.

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

See Also