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

## Slicer::SetHeightPixel method


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


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

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