Subtotal
Subtotal(CellArea, int, ConsolidationFunction, int[])
为范围创建小计。
public void Subtotal(CellArea ca, int groupBy, ConsolidationFunction function, int[] totalList)
范围 | 类型 | 描述 |
---|---|---|
ca | CellArea | 范围 |
groupBy | Int32 | 要分组的字段,作为从零开始的整数偏移量 |
function | ConsolidationFunction | 小计函数。 |
totalList | Int32[] | 从零开始的字段偏移数组,指示要添加小计的字段。 |
也可以看看
- struct CellArea
- enum ConsolidationFunction
- class Cells
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells
Subtotal(CellArea, int, ConsolidationFunction, int[], bool, bool, bool)
为范围创建小计。
public void Subtotal(CellArea ca, int groupBy, ConsolidationFunction function, int[] totalList,
bool replace, bool pageBreaks, bool summaryBelowData)
范围 | 类型 | 描述 |
---|---|---|
ca | CellArea | 范围 |
groupBy | Int32 | 要分组的字段,作为从零开始的整数偏移量 |
function | ConsolidationFunction | 小计函数。 |
totalList | Int32[] | 从零开始的字段偏移数组,指示要添加小计的字段。 |
replace | Boolean | 指示是否替换当前小计 |
pageBreaks | Boolean | 指示是否在组之间添加分页符 |
summaryBelowData | Boolean | 指示是否在数据下方添加摘要。 |
也可以看看
- struct CellArea
- enum ConsolidationFunction
- class Cells
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells