Aspose::Cells::Drawing::Shape::SetTextHorizontalAlignment method
Shape::SetTextHorizontalAlignment method
Gets and sets the text horizontal alignment type of the shape.
void Aspose::Cells::Drawing::Shape::SetTextHorizontalAlignment(TextAlignmentType value)
Examples
if (shape.GetTextHorizontalAlignment() == TextAlignmentType::Bottom)
shape.SetTextHorizontalAlignment(TextAlignmentType::Center);
See Also
- Class Vector
- Enum TextAlignmentType
- Class Shape
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++