## ShapeTextAlignment::GetTextVerticalType method


Gets and sets the text direction.

```cpp
TextVerticalType Aspose::Cells::Drawing::Texts::ShapeTextAlignment::GetTextVerticalType()
```


## Examples


```cpp
if (shapeTextAlignment.GetTextVerticalType() == TextVerticalType::Vertical)
{
    shapeTextAlignment.SetTextVerticalType(TextVerticalType::Horizontal);
}
```

## See Also

* Enum [TextVerticalType](../../textverticaltype/)
* Class [ShapeTextAlignment](../)
* Namespace [Aspose::Cells::Drawing::Texts](../../)
* Library [Aspose.Cells for C++](../../../)
