Back to Devexpress

TdxSpreadSheetReportDesigner.GetSection(string,Integer) Method

vcl-dxspreadsheetreportdesigner-dot-tdxspreadsheetreportdesigner-dot-getsection-x28-system-dot-string-system-dot-integer-x29.md

latest1.4 KB
Original Source

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

NameType
ANamestring
AIndexInteger

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

TdxSpreadSheetReportDesigner Class

TdxSpreadSheetReportDesigner Members

dxSpreadSheetReportDesigner Unit