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