---
title: "Aspose::Cells::Drawing::Texts::TextBoxOptions::GetShapeTextVerticalAlignment method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.drawing.texts/textboxoptions/getshapetextverticalalignment/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Drawing::Texts::TextBoxOptions::GetShapeTextVerticalAlignment method. It corresponds to \"Format Shape - Text Options - Text Box - Vertical Alignment\" in Excel in C++."
---

## TextBoxOptions::GetShapeTextVerticalAlignment method


It corresponds to "Format Shape - Text Options - Text Box - Vertical Alignment" in Excel.

```cpp
ShapeTextVerticalAlignmentType Aspose::Cells::Drawing::Texts::TextBoxOptions::GetShapeTextVerticalAlignment()
```


## Examples


```cpp
ShapeTextVerticalAlignmentType type = shape.GetTextBoxOptions().GetShapeTextVerticalAlignment();
```

## See Also

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