## AddShapeInChart(MsoDrawingType, PlacementType, int, int, int, int, byte[]) {#addshapeinchart_1}

Fügen Sie dem Diagramm eine Form hinzu. Alle Einheiten sind 1/4000 der Diagrammfläche.

```csharp
public Shape AddShapeInChart(MsoDrawingType type, PlacementType placement, int left, int top, 
    int right, int bottom, byte[] imageData)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| type | MsoDrawingType | Der Zeichnungstyp. |
| placement | PlacementType | die Platzierungsart. |
| left | Int32 | In der Einheit 1/4000 Diagrammbereichsbreite. |
| top | Int32 | In der Einheit 1/4000 Diagrammbereichshöhe. |
| right | Int32 | In der Einheit 1/4000 Diagrammbereichsbreite. |
| bottom | Int32 | In der Einheit 1/4000 Diagrammbereichshöhe. |
| imageData | Byte[] | Wenn die Form kein Bild oder Ole-Objekt ist, sollte imageData null sein. |

### Siehe auch

* class [Shape](../../shape)
* enum [MsoDrawingType](../../msodrawingtype)
* enum [PlacementType](../../placementtype)
* class [ShapeCollection](../../shapecollection)
* namensraum [Aspose.Cells.Drawing](../../shapecollection)
* Montage [Aspose.Cells](../../../)

---

## AddShapeInChart(MsoDrawingType, PlacementType, int, int, int, int) {#addshapeinchart}

Fügen Sie dem Diagramm eine Form hinzu. Alle Einheiten sind 1/4000 der Diagrammfläche.

```csharp
public Shape AddShapeInChart(MsoDrawingType type, PlacementType placement, int left, int top, 
    int right, int bottom)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| type | MsoDrawingType | Der Zeichnungstyp. |
| placement | PlacementType | die Platzierungsart. |
| left | Int32 | In der Einheit 1/4000 Diagrammbereichsbreite. |
| top | Int32 | In der Einheit 1/4000 Diagrammbereichshöhe. |
| right | Int32 | In der Einheit 1/4000 Diagrammbereichsbreite. |
| bottom | Int32 | In der Einheit 1/4000 Diagrammbereichshöhe. |

### Siehe auch

* class [Shape](../../shape)
* enum [MsoDrawingType](../../msodrawingtype)
* enum [PlacementType](../../placementtype)
* class [ShapeCollection](../../shapecollection)
* namensraum [Aspose.Cells.Drawing](../../shapecollection)
* Montage [Aspose.Cells](../../../)

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