Aspose::Cells::Pivot::PivotFilterCollection class

PivotFilterCollection class

Represents a collection of all the PivotFilter objects.

class PivotFilterCollection

Methods

MethodDescription
Add(int32_t fieldIndex, PivotFilterType type)(Deprecated) Adds a PivotFilterObject to the specific type.
AddDateFilter(int32_t baseFieldIndex, PivotFilterType type, const Date& dateTime1, const Date& dateTime2)Filters by date setting of row or column pivot field.
AddLabelFilter(int32_t baseFieldIndex, PivotFilterType type, const U16String& label1, const U16String& label2)Filters by captions of row or column pivot field.
AddLabelFilter(int32_t baseFieldIndex, PivotFilterType type, const char16_t* label1, const char16_t* label2)Filters by captions of row or column pivot field.
AddTop10Filter(int32_t baseFieldIndex, int32_t valueFieldIndex, PivotFilterType type, bool isTop, int32_t itemCount)Filters by values of data pivot field.
AddValueFilter(int32_t baseFieldIndex, int32_t valueFieldIndex, PivotFilterType type, double value1, double value2)Filters by values of data pivot field.
ClearFilter(int32_t fieldIndex)Clear PivotFilter from the specific PivotField.
Get(int32_t index)Gets the pivotfilter object at the specific index.
GetCount()
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const PivotFilterCollection& src)operator=
PivotFilterCollection(PivotFilterCollection_Impl* impl)Constructs from an implementation object.
PivotFilterCollection(const PivotFilterCollection& src)Copy constructor.
~PivotFilterCollection()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also