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

## Slicer::GetHeightPixel method


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


>Deprecated
>
>Use Shape.Height property instead. 
```cpp
int32_t Aspose::Cells::Slicers::Slicer::GetHeightPixel()
```

## Remarks


NOTE: This member is now obsolete. Instead, please use Shape.Height property. This property will be removed 12 months later since May 2025. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

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