TCustomdxComponentPrinter.DrawPageHeader(TBasedxReportLink,Integer,TRect,TdxPageTitleParts,Boolean) Method
Draws a report page header.
Declaration
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