Skip to main content

TBasedxReportLink.DrawPageHeader(Integer,TRect,TdxPageTitleParts,Boolean) Method

Draws a page header in a report.

Declaration

procedure DrawPageHeader(APageIndex: Integer; ARect: TRect; ATitleParts: TdxPageTitleParts; ADrawBackground: Boolean);

Parameters

Name Type
APageIndex Integer
ARect TRect
ATitleParts TdxPageTitleParts
ADrawBackground Boolean

Remarks

This method is intended to draw the page header on a report’s surface. Call this method when custom painting a report.

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 ATitleParts parameter specifies in which page region a header is drawn. Possible values include:

Value Description
tpLeft Header is drawn within the left header region.
tpCenter Header is drawn within center of the page header region.
tpRight Header is drawn within the right header region.

Set the ADrawBackground parameter to True to print header background.

See Also