---
title: "Aspose::Cells::Drawing::Texts::TextParagraph::SetAlignmentType method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.drawing.texts/textparagraph/setalignmenttype/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Drawing::Texts::TextParagraph::SetAlignmentType method. Gets and sets the text horizontal alignment type of the paragraph in C++."
---

## TextParagraph::SetAlignmentType method


Gets and sets the text horizontal alignment type of the paragraph.

```cpp
void Aspose::Cells::Drawing::Texts::TextParagraph::SetAlignmentType(TextAlignmentType value)
```

## See Also

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