## Shape::SetTop method


Represents the vertical offset of shape from its top row, in unit of pixels.

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

## Remarks


If the shape is in the chart, represents the vertical offset of shape from its top border.

## Examples


```cpp
if (shape.GetTop() == 3)
    shape.SetTop(1);
```

## See Also

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