Skip to main content

TdxSpreadSheetReportDesigner.FindSection(TdxSpreadSheetReportSectionType,Integer,TdxSpreadSheetReportSection) Method

Searches a report template section by its type.

Declaration

function FindSection(const AType: TdxSpreadSheetReportSectionType; AIndex: Integer; var ASection: TdxSpreadSheetReportSection): Boolean;

Parameters

Name Type
AType TdxSpreadSheetReportSectionType
AIndex Integer
ASection TdxSpreadSheetReportSection

Returns

Type
Boolean

Remarks

This function returns True if the displayed report template contains a section whose type is passed as the AType parameter; otherwise – False. If the search is successful, the FindSection function returns the found report template section as the ASection parameter.

See Also