## Slicer::AddPivotConnection method


Adds PivotTable connection.

```cpp
void Aspose::Cells::Slicers::Slicer::AddPivotConnection(const PivotTable &pivot)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pivot | const PivotTable\& | The PivotTable object |


## Examples


```cpp
slicer.AddPivotConnection(pivotTable);
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [PivotTable](../../../aspose.cells.pivot/pivottable/)
* Class [Slicer](../)
* Namespace [Aspose::Cells::Slicers](../../)
* Library [Aspose.Cells for C++](../../../)
