Package com.grapecity.documents.excel
Interface ICalculatedFields
- All Superinterfaces:
Iterable<IPivotField>
表示指定数据透视表报告中所有计算字段的PivotField对象集合。
- See Also:
-
Method Details
-
getCount
int getCount()返回计算字段的数量。 -
get
获取通过索引计算的字段。- Parameters:
index- 计算字段的索引。- Returns:
- 计算字段
- See Also:
-
get
获取按名称计算的字段。- Parameters:
fieldName- 计算字段的名称。- Returns:
- 计算字段
- See Also:
-
add
创建一个新的计算字段。返回一个PivotField对象。- Parameters:
Name- 字段的名称。Formula- 字段的公式。- Returns:
- 计算字段
- See Also:
-
remove
移除按名称计算的字段。- Parameters:
fieldName- 计算字段的名称。
-