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

## Slicer::GetRowHeight method


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

```cpp
double Aspose::Cells::Slicers::Slicer::GetRowHeight()
```


## 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++](../../../)
