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