## ShapeCollection.Remove method

Şekli kaldırın.

```csharp
public void Remove(Shape shape)
```

| Parametre | Tip | Tanım |
| --- | --- | --- |
| shape | Shape |  |

### Örnekler

```csharp

[C#]
//ilk şekli ekle
shapes.AddRectangle(2, 0, 2, 0, 50, 50);
// ikinci şekli ekle
shapes.AddRectangle(6, 0, 2, 0, 30, 30);

//şekli al
Shape s = shapes["Rectangle 1"];// veya şekiller[0];
if (s != null)
{
    //kaldırmak 
    shapes.Remove(s);
}
```

### Ayrıca bakınız

* class [Shape](../../shape)
* class [ShapeCollection](../../shapecollection)
* ad alanı [Aspose.Cells.Drawing](../../shapecollection)
* toplantı [Aspose.Cells](../../../)

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