Manage Shape Text Options with Golang via C++

Managing Shape Text Options

Aspose.Cells allows you to customize the text within shapes in Excel files. The Shape class provides methods and properties to manage text options such as alignment, orientation, and formatting.

Setting Text Alignment

You can set the horizontal and vertical alignment of text within a shape using the GetTextHorizontalAlignment() and GetTextVerticalAlignment() methods.

Setting Text Orientation

You can also set the orientation of the text within a shape using the SetTextOrientationType method with the TextOrientationType enumeration.

Formatting Text

You can format the text within a shape using the Font class. This allows you to set properties such as font size, color, and style.

Conclusion

Aspose.Cells for Go via C++ provides a comprehensive set of tools to manage shape text options in Excel files. By using the Shape class, you can easily customize text alignment, orientation, and formatting to meet your specific requirements.