## Shape::GetAutoShapeType method


Gets and sets the auto shape type.

```cpp
AutoShapeType Aspose::Cells::Drawing::Shape::GetAutoShapeType()
```


## Examples


```cpp
if (shape.GetAutoShapeType() == AutoShapeType::Unknown)
    shape.SetAutoShapeType(AutoShapeType::Rectangle);
```

## See Also

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