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

Aggiungi una forma al grafico. Tutte le unità sono 1/4000 dell'area del grafico.

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

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| type | MsoDrawingType | Il tipo di disegno. |
| placement | PlacementType | il tipo di posizionamento. |
| left | Int32 | In unità di 1/4000 di larghezza dell'area del grafico. |
| top | Int32 | In unità di 1/4000 di altezza dell'area del grafico. |
| right | Int32 | In unità di 1/4000 di larghezza dell'area del grafico. |
| bottom | Int32 | In unità di 1/4000 di altezza dell'area del grafico. |
| imageData | Byte[] | Se la forma non è un'immagine o un oggetto ole, imageData dovrebbe essere null. |

### Guarda anche

* class [Shape](../../shape)
* enum [MsoDrawingType](../../msodrawingtype)
* enum [PlacementType](../../placementtype)
* class [ShapeCollection](../../shapecollection)
* spazio dei nomi [Aspose.Cells.Drawing](../../shapecollection)
* assemblea [Aspose.Cells](../../../)

---

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

Aggiungi una forma al grafico. Tutte le unità sono 1/4000 dell'area del grafico.

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

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| type | MsoDrawingType | Il tipo di disegno. |
| placement | PlacementType | il tipo di posizionamento. |
| left | Int32 | In unità di 1/4000 di larghezza dell'area del grafico. |
| top | Int32 | In unità di 1/4000 di altezza dell'area del grafico. |
| right | Int32 | In unità di 1/4000 di larghezza dell'area del grafico. |
| bottom | Int32 | In unità di 1/4000 di altezza dell'area del grafico. |

### Guarda anche

* class [Shape](../../shape)
* enum [MsoDrawingType](../../msodrawingtype)
* enum [PlacementType](../../placementtype)
* class [ShapeCollection](../../shapecollection)
* spazio dei nomi [Aspose.Cells.Drawing](../../shapecollection)
* assemblea [Aspose.Cells](../../../)

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