---
title: "Aspose::Cells::Slicers::Slicer::SetRowHeight method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.slicers/slicer/setrowheight/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Slicers::Slicer::SetRowHeight method. Returns or sets the height of each row in the specified slicer in unit of points in C++."
---

## Slicer::SetRowHeight method


Returns or sets the height of each row in the specified slicer in unit of points.

```cpp
void Aspose::Cells::Slicers::Slicer::SetRowHeight(double value)
```


## Examples


```cpp
if (slicer.GetRowHeight() != 20)
{
    slicer.SetRowHeight(20);
}
```

## See Also

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