## Shape::SetTextVerticalAlignment method


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

```cpp
void Aspose::Cells::Drawing::Shape::SetTextVerticalAlignment(TextAlignmentType value)
```


## Examples


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

## See Also

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