## Shape::SetY method


Gets and sets the vertical offset of shape from worksheet top border,in unit of pixels.

```cpp
void Aspose::Cells::Drawing::Shape::SetY(int32_t value)
```


## Examples


```cpp
if (shape.GetY() == 3)
    shape.SetY(1);
```

## See Also

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