## ShapeTextAlignment::SetTextVerticalType method


Gets and sets the text direction.

```cpp
void Aspose::Cells::Drawing::Texts::ShapeTextAlignment::SetTextVerticalType(TextVerticalType value)
```


## Examples


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

## See Also

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