Aspose::Cells::Drawing::Shape::SetAutoShapeType method

Shape::SetAutoShapeType method

Gets and sets the auto shape type.

void Aspose::Cells::Drawing::Shape::SetAutoShapeType(AutoShapeType value)

Examples

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

See Also