## Shape::GetY method


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

```cpp
int32_t Aspose::Cells::Drawing::Shape::GetY()
```


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