Skip to main content

TdxSpreadSheetReportDesigner.SetHeaderSection(TRect) Method

Adds the common header section to the displayed report template.

Declaration

procedure SetHeaderSection(const ABounds: TRect);

Parameters

Name Type
ABounds TRect

Remarks

Call this procedure to create new or redefine an existing common header section in the displayed report template. The header section occupies a cell range whose dimensions (in cells) and position within the report template are passed as the ABounds parameter. The resulting header is common to all the data in the built report.

If the entire report content fits into a single worksheet, the header serves as the report beginning, preceding the first detail section:

Otherwise, the header is placed at the beginning of each worksheet or spreadsheet document constituting the report:

To allow end-users to define the common header template section, link the HeaderSection command to an element of your UI.

Note

To define a header for grouped dataset records, call the SetGroupHeaderSection procedure.

See Also