RemoveAt
ShapeCollection.RemoveAt method
移除形状。
public void RemoveAt(int index)
范围 | 类型 | 描述 |
---|---|---|
index | Int32 | 形状的索引。 |
例子
[C#]
//添加第一个形状
shapes.AddRectangle(2, 0, 2, 0, 50, 50);
//添加第二个形状
shapes.AddRectangle(6, 0, 2, 0, 30, 30);
//消除
shapes.RemoveAt(0);
也可以看看
- class ShapeCollection
- 命名空间 Aspose.Cells.Drawing
- 部件 Aspose.Cells