---
title: "Aspose::Cells::Drawing::Texts::ShapeTextAlignment::GetNumberOfColumns method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.drawing.texts/shapetextalignment/getnumberofcolumns/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Drawing::Texts::ShapeTextAlignment::GetNumberOfColumns method. Gets and sets the number of columns of text in the bounding rectangle in C++."
---

## ShapeTextAlignment::GetNumberOfColumns method


Gets and sets the number of columns of text in the bounding rectangle.

```cpp
int32_t Aspose::Cells::Drawing::Texts::ShapeTextAlignment::GetNumberOfColumns()
```

## See Also

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