---
title: "GetNumberOfColumns Method"
url: "https://reference.aspose.com/cells/go-cpp/shapetextalignment/getnumberofcolumns/"
product: "Aspose.Cells for Go via C++ API Reference"
description: "GetNumberOfColumns method. Encapsulates the function that represents getnumberofcolumns in Go."
---


## GetNumberOfColumns function

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

```go

func (instance *ShapeTextAlignment) GetNumberOfColumns()  (int32,  error) 

```

## Remarks


## See Also

* Class [ShapeTextAlignment](../)
* Library [Aspose.Cells for Go](../../)
