---
title: "Aspose::Cells::Drawing::Texts::TextBoxOptions::GetShapeTextDirection method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.drawing.texts/textboxoptions/getshapetextdirection/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Drawing::Texts::TextBoxOptions::GetShapeTextDirection method. Gets or sets the text display direction within a given text body. It corresponds to \"Format Shape - Text Options - Text Box - Text direction\" in Excel in C++."
---

## TextBoxOptions::GetShapeTextDirection method


Gets or sets the text display direction within a given text body. It corresponds to "Format Shape - Text Options - Text Box - Text direction" in Excel.

```cpp
TextVerticalType Aspose::Cells::Drawing::Texts::TextBoxOptions::GetShapeTextDirection()
```


## Examples


```cpp
TextVerticalType type = shape.GetTextBoxOptions().GetShapeTextDirection();
```

## See Also

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