Skip to main content

TdxSpreadSheetReportDesigner.GetSection(string,Integer) Method

Returns a report template section by its type or name.

Declaration

function GetSection(const AName: string; AIndex: Integer = -1): TdxSpreadSheetReportSection; overload;

Parameters

Name Type
AName string
AIndex Integer

Returns

Type
TdxSpreadSheetReportSection

Remarks

This function returns a report template section if the search is successful; otherwise – nil.

The first and second overloaded variants search a section within the report template by the type and name passed as the AType and AName parameters, respectively. In the case of master-detail report templates, you can use the optional AIndex parameter to specify the detail section’s zero-based index (level).

See Also