## ShapeTextAlignment::SetTextHorizontalOverflow method


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

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


## Examples


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

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [TextOverflowType](../../../aspose.cells.drawing/textoverflowtype/)
* Class [ShapeTextAlignment](../)
* Namespace [Aspose::Cells::Drawing::Texts](../../)
* Library [Aspose.Cells for C++](../../../)
