Aspose::Cells::Pivot::PivotFieldCollection class
Contents
[
Hide
]PivotFieldCollection class
Represents a collection of all the PivotField objects in the different regions of the pivot table.
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. |
| begin() | Returns an iterator to the beginning of the PivotFieldCollection. |
| Clear() | clear all fields of PivotFieldCollection |
| end() | Returns an iterator to the end of the 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 number of elements contained in the instance. |
| GetType() | Gets the PivotFields type. |
| Insert(int32_t index, const PivotField& pivotField) | Insert a pivot field at specific index. |
| 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. |
| Remove(const PivotField& pivotField) | Removes field from the current region. |
| RemoveAt(int32_t index) | Removes field by the index. Only for filter,row,column,data region. |
| ~PivotFieldCollection() | Destructor. |
Fields
| Field | Description |
|---|---|
| _impl | The implementation object. |
See Also
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++