## Shape::SetTextDirection method


Gets/Sets the direction of the text flow for this object.

```cpp
void Aspose::Cells::Drawing::Shape::SetTextDirection(TextDirectionType value)
```


## Examples


```cpp
if (shape.GetTextDirection() == TextDirectionType::Context)
    shape.SetTextDirection(TextDirectionType::LeftToRight);
```

## See Also

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