## PivotTableCreateOptions::SetUseSameSource method


Gets or sets a value indicating whether to share the same data source with existing pivot tables. Default value is true.

```cpp
void Aspose::Cells::Pivot::PivotTableCreateOptions::SetUseSameSource(bool value)
```

## Remarks


When set to true, multiple pivot tables can reuse one pivot cache to reduce memory consumption. 
## See Also

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