Aspose::Cells::Drawing::Texts::ShapeTextAlignment::SetTextVerticalType method

ShapeTextAlignment::SetTextVerticalType method

Gets and sets the text direction.

void Aspose::Cells::Drawing::Texts::ShapeTextAlignment::SetTextVerticalType(TextVerticalType value)

Examples

if (shapeTextAlignment.GetTextVerticalType() == TextVerticalType::Vertical)
{
    shapeTextAlignment.SetTextVerticalType(TextVerticalType::Horizontal);
}

See Also