## PivotAreaCollection::AddPivotArea method


Adds pivot area into this collection.

```cpp
int32_t Aspose::Cells::Pivot::PivotAreaCollection::AddPivotArea(const PivotArea &pivotArea)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pivotArea | const PivotArea\& |  |

## ReturnValue

index of the added pivot area in this collection

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [PivotArea](../../pivotarea/)
* Class [PivotAreaCollection](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
