add方法
add(self, field_index, type)
将 PivotFilter 对象添加到特定类型
返回
此 PivotFilterCollection 中 PivotFilter 对象的索引。
def add(self, field_index, type):
...
范围 | 类型 | 描述 |
---|---|---|
field_index | int | 数据透视字段索引 |
type | PivotFilterType | PivotFilter 类型 |
注意事项
注意:此方法现已过时。取而代之的是 请使用 PivotFilterCollection.AddValueFilter()、AddTop10Filter()、AddLabelFilter() 和 AddDateFilter() 方法。 该方法将于 2024 年 11 月起 12 个月后取消。 Aspose 对于您所遇到的不便深表歉意。