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

TdxSpreadSheetReportDesigner.GetSection(string,Integer) Method

Returns a report template section by its type or name.

#Declaration

Delphi
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