---
title: "Aspose::Cells::Drawing::Texts::TextBoxOptions::SetWrapTextInShape method"
url: "https://reference.aspose.com/cells/cpp/aspose.cells.drawing.texts/textboxoptions/setwraptextinshape/"
product: "Aspose.Cells for C++ API Reference"
description: "Aspose::Cells::Drawing::Texts::TextBoxOptions::SetWrapTextInShape method. Specifies text wrapping within a shape. False - No wrapping will occur on text body. True - Wrapping will occur on text body in C++."
---

## TextBoxOptions::SetWrapTextInShape method


Specifies text wrapping within a shape. False - No wrapping will occur on text body. True - Wrapping will occur on text body.

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


## Examples


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

## See Also

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