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

## Slicer::GetRowHeightPixel method


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

```cpp
int32_t Aspose::Cells::Slicers::Slicer::GetRowHeightPixel()
```


## Examples


```cpp
if (slicer.GetRowHeightPixel() != 30)
{
    slicer.SetRowHeightPixel(30);
}
```

## See Also

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