## ShapeCollection.Group method

Şekilleri gruplayın.

```csharp
public GroupShape Group(Shape[] groupItems)
```

| Parametre | Tip | Tanım |
| --- | --- | --- |
| groupItems | Shape[] | grup öğeleri. |

### Geri dönüş değeri

Grup şeklini döndür.

### Notlar

groupItems içindeki şekil gruplandırılmamalıdır. Şekil bu Shapes koleksiyonunda olmalıdır.

### Ö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);

Shape[] shapesArr = new Shape[] { shapes[0], shapes[1] };
GroupShape groupShape = shapes.Group(shapesArr);

```

### Ayrıca bakınız

* class [GroupShape](../../groupshape)
* 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 -->
