## ShapeTextAlignment::SetAutoSize method


Indicates if size of shape is adjusted automatically according to its content.

```cpp
void Aspose::Cells::Drawing::Texts::ShapeTextAlignment::SetAutoSize(bool value)
```


## Examples


```cpp
if (shapeTextAlignment.GetAutoSize() == false)
{
    shapeTextAlignment.SetAutoSize(true);
}
```

## See Also

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