## Shape::GetTextVerticalAlignment method


Gets and sets the text vertical alignment type of the shape.

```cpp
TextAlignmentType Aspose::Cells::Drawing::Shape::GetTextVerticalAlignment()
```


## Examples


```cpp
if (shape.GetTextVerticalAlignment() == TextAlignmentType::Bottom)
    shape.SetTextVerticalAlignment(TextAlignmentType::Center);
```

## See Also

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