## PivotAreaCollection::Add(const PivotArea\&) method


Adds pivot area.


>Deprecated
>
>Use PivotAreaCollection.AddPivotArea(PivotArea) method instead. 
```cpp
int32_t Aspose::Cells::Pivot::PivotAreaCollection::Add(const PivotArea &pivotArea)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pivotArea | const PivotArea\& | The pivot area. |

## ReturnValue


## Remarks



NOTE: This member is now obsolete. Instead, please use [AddPivotArea()](../addpivotarea/) method. This method will be removed 6 months later since December 2025. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [PivotArea](../../pivotarea/)
* Class [PivotAreaCollection](../)
* Namespace [Aspose::Cells::Pivot](../../)
* Library [Aspose.Cells for C++](../../../)
## PivotAreaCollection::Add(const CellArea\&) method


Adds an area based on pivot table view.

```cpp
void Aspose::Cells::Pivot::PivotAreaCollection::Add(const CellArea &cellArea)
```


| Parameter | Type | Description |
| --- | --- | --- |
| cellArea | const CellArea\& | The area based on pivot table view. |

## See Also

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