---
title: "Aspose::Cells::Drawing::Texts::TextBoxOptions::SetAllowTextToOverflow method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.drawing.texts/textboxoptions/setallowtexttooverflow/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Drawing::Texts::TextBoxOptions::SetAllowTextToOverflow method. Whether allow text to overflow shape in C++."
---

## TextBoxOptions::SetAllowTextToOverflow method


Whether allow text to overflow shape.

```cpp
void Aspose::Cells::Drawing::Texts::TextBoxOptions::SetAllowTextToOverflow(bool value)
```


## Examples


```cpp
shape.GetTextBoxOptions().SetAllowTextToOverflow(true);
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [TextBoxOptions](../)
* Namespace [Aspose::Cells::Drawing::Texts](../../)
* Library [Aspose.Cells for C++](../../../)
