Aspose::Cells::Drawing::Shape::GetTextVerticalAlignment method

Shape::GetTextVerticalAlignment method

Gets and sets the text vertical alignment type of the shape.

TextAlignmentType Aspose::Cells::Drawing::Shape::GetTextVerticalAlignment()

Examples

if (shape.GetTextVerticalAlignment() == TextAlignmentType::Bottom)
    shape.SetTextVerticalAlignment(TextAlignmentType::Center);

See Also