---
title: "Aspose::Cells::Pivot::PivotArea::SetOnlyLabel method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.pivot/pivotarea/setonlylabel/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Pivot::PivotArea::SetOnlyLabel method. Indicates whether only the data labels for an item selection are selected in C++."
---

## PivotArea::SetOnlyLabel method


Indicates whether only the data labels for an item selection are selected.

```cpp
void Aspose::Cells::Pivot::PivotArea::SetOnlyLabel(bool value)
```

## See Also

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