Aspose::Cells::Drawing::ShapeCollection::RemoveAt method

ShapeCollection::RemoveAt method

Remove the shape.

void Aspose::Cells::Drawing::ShapeCollection::RemoveAt(int32_t index)
ParameterTypeDescription
indexint32_tThe index of the shape.

Examples

    //add first shape
shapes.AddRectangle(2, 0, 2, 0, 50, 50);
//add second shape
shapes.AddRectangle(6, 0, 2, 0, 30, 30);

//remove
shapes.RemoveAt(0);

See Also