Aspose::Cells::Drawing::Texts::ShapeTextAlignment::SetTextHorizontalOverflow method

ShapeTextAlignment::SetTextHorizontalOverflow method

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

void Aspose::Cells::Drawing::Texts::ShapeTextAlignment::SetTextHorizontalOverflow(TextOverflowType value)

Examples

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

See Also