## Shape::FitToTextSize method


Recalculate a text area suitable for displaying all text content.

```cpp
void Aspose::Cells::Drawing::Shape::FitToTextSize()
```


## Examples


```cpp
if (shape.GetName().StartsWith("Your traget"))
{
    shape.FitToTextSize();
}
```

## See Also

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