---
title: "Aspose::Cells::Slicers::Slicer::SetLeftPixel method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.slicers/slicer/setleftpixel/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Slicers::Slicer::SetLeftPixel method. Returns or sets the horizontal offset of slicer shape from its left column, in pixels in C++."
---

## Slicer::SetLeftPixel method


Returns or sets the horizontal offset of slicer shape from its left column, in pixels.


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

## Remarks


NOTE: This member is now obsolete. Instead, please use Shape.Left 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++](../../../)
