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.DrawPageHeader(TBasedxReportLink,Integer,TRect,TdxPageTitleParts,Boolean) Method

Draws a report page header.

#Declaration

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

#Parameters

Name Type
AReportLink TBasedxReportLink
APageIndex Integer
ARect TRect
ATitleParts TdxPageTitleParts
ADrawBackground Boolean

#Remarks

The DrawPageHeader method is called when a printing component builds the image of a report header.

The AReportLink parameter specifies the report link.

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 references one of footer sections. Available ATitleParts parameter values include:

Value Description
tpLeft Header is drawn within the left section.
tpCenter Header is drawn within the center section.
tpRight Header is drawn within the right section.

The ADrawBackground parameter specifies whether to draw the header background.

See Also