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

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

Draws a page header in a report.

#Declaration

Delphi
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