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

## ShapeTextAlignment::SetNumberOfColumns method


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

```cpp
void Aspose::Cells::Drawing::Texts::ShapeTextAlignment::SetNumberOfColumns(int32_t value)
```

## See Also

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