## ShapeCollection.Clear method

清除所有形状。

```csharp
public void Clear()
```

### 例子

```csharp

[C#]
if (shapes.Count > 0)
{
    shapes.Clear();
}
```

### 也可以看看

* class [ShapeCollection](../../shapecollection)
* 命名空间 [Aspose.Cells.Drawing](../../shapecollection)
* 部件 [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
