## Shape::SetTextShapeType method


Gets and sets the preset text shape type.

```cpp
void Aspose::Cells::Drawing::Shape::SetTextShapeType(AutoShapeType value)
```


## Examples


```cpp
if (shape.GetTextShapeType() == AutoShapeType::Unknown)
    shape.SetTextShapeType(AutoShapeType::Rectangle);
```

## See Also

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