## PivotAreaCollection class


Represents a list of pivot area.

```cpp
class PivotAreaCollection
```

## Methods

| Method | Description |
| --- | --- |
| [Add(const PivotArea\& pivotArea)](./add/) |  **(Deprecated)** Adds pivot area. |
| [Add(const CellArea\& cellArea)](./add/) | Adds an area based on pivot table view. |
| [AddPivotArea(const PivotArea\& pivotArea)](./addpivotarea/) | Adds pivot area into this collection. |
| [begin()](./begin/) | Returns an iterator to the beginning of the [PivotAreaCollection](./). |
| [end()](./end/) | Returns an iterator to the end of the [PivotAreaCollection](./). |
| [Get(int32_t index)](./get/) | Gets a [PivotArea](../pivotarea/) object;. |
| [GetCount()](./getcount/) | Gets the number of elements contained in the instance. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const PivotAreaCollection\& src)](./operator_asm/) | operator= |
| [PivotAreaCollection(PivotAreaCollection_Impl* impl)](./pivotareacollection/) | Constructs from an implementation object. |
| [PivotAreaCollection(const PivotAreaCollection\& src)](./pivotareacollection/) | Copy constructor. |
| [RemoveAt(int32_t index)](./removeat/) | Remove one pivot conditional formatted area setting. |
| [~PivotAreaCollection()](./~pivotareacollection/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## See Also

* Namespace [Aspose::Cells::Pivot](../)
* Library [Aspose.Cells for C++](../../)
