Aspose::Cells::Pivot::PivotFilterCollection::Add method

PivotFilterCollection::Add method

Adds a PivotFilterObject to the specific type.

Deprecated

Use PivotFilterCollection.AddValueFilter(),AddTop10Filter(),AddLabelFilter() and AddDateFilter() methods,instead.

int32_t Aspose::Cells::Pivot::PivotFilterCollection::Add(int32_t fieldIndex, PivotFilterType type)
ParameterTypeDescription
fieldIndexint32_tthe PivotField index
typePivotFilterTypethe PivotFilter type

ReturnValue

the index of the PivotFilterObject in this PivotFilterCollection.

Remarks

NOTE: This method is now obsolete. Instead, please use PivotFilterCollection.AddValueFilter(),AddTop10Filter(),AddLabelFilter() and AddDateFilter() methods. This method will be removed 12 months later since November 2024. Aspose apologizes for any inconvenience you may have experienced.

See Also