ShapeCollection.RemoveAt
ShapeCollection.RemoveAt method
Remove the shape.
public void RemoveAt(int index)
Parameter | Type | Description |
---|---|---|
index | Int32 | The index of the shape. |
Examples
[C#]
//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
- class ShapeCollection
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells