## ShapeCollection.Clear method

Clear all shapes in the worksheet.

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

### Examples

```csharp

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

### See Also

* class [ShapeCollection](../)
* namespace [Aspose.Cells.Drawing](../../../aspose.cells.drawing/)
* assembly [Aspose.Cells](../../../)


