TXlsFile.SubtotalDefaultEnglishString Method
Returns the english string that Excel uses to refer to Sums, averages, et. when you use the Subtotal command. You can use the result of this method together with TExcelFile.Subtotal to specify the text for totals.
Syntax
Unit: FlexCel.XlsAdapter
function TXlsFile.SubtotalDefaultEnglishString(const aggFunction: Integer): string; override;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aggFunction | Integer | Number of function used for aggregating. If the number is unknown then this function will return "Total". For known numbers this function will return what Excel writes on the cells for that function. |