Aspose::Cells::Drawing::Texts::ShapeTextAlignment::GetTextHorizontalOverflow method

ShapeTextAlignment::GetTextHorizontalOverflow method

Gets and sets the text horizontal overflow type of the text box.

TextOverflowType Aspose::Cells::Drawing::Texts::ShapeTextAlignment::GetTextHorizontalOverflow()

Examples

if (shapeTextAlignment.GetTextHorizontalOverflow() == TextOverflowType::Overflow)
{
    shapeTextAlignment.SetTextHorizontalOverflow(TextOverflowType::Clip);
}

See Also