Aspose::Cells::Pivot::PivotFieldCollection class
Contents
[
Hide
]PivotFieldCollection class
Represents a collection of all the PivotField objects in the PivotTable’s specific PivotFields type.
class PivotFieldCollection
Methods
| Method | Description |
|---|---|
| Add(const PivotField& pivotField) | Adds a PivotFieldObject to the specific type PivotFields. |
| AddByBaseIndex(int32_t baseFieldIndex) | Adds a PivotFieldObject to the specific type PivotFields. |
| Clear() | clear all fields of PivotFieldCollection |
| Get(int32_t index) | Gets the PivotFieldObject at the specific index. |
| Get(const U16String& name) | Gets the PivotFieldObject of the specific name. |
| Get(const char16_t* name) | Gets the PivotFieldObject of the specific name. |
| GetCount() | Gets the count of the pivotFields. |
| GetEnumerator() | Gets an enumerator over the elements in this collection in proper sequence. |
| GetType() | Gets the PivotFields type. |
| IsNull() const | Checks whether the implementation object is nullptr. |
| Move(int32_t currPos, int32_t destPos) | Moves the PivotField from current position to destination position. |
| explicit operator bool() const | operator bool() |
| operator=(const PivotFieldCollection& src) | operator= |
| PivotFieldCollection(PivotFieldCollection_Impl* impl) | Constructs from an implementation object. |
| PivotFieldCollection(const PivotFieldCollection& src) | Copy constructor. |
| ~PivotFieldCollection() | Destructor. |
Fields
| Field | Description |
|---|---|
| _impl | The implementation object. |
See Also
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++