## ShapeCollection.AddActiveXControl method

Erstellt ein Activex-Steuerelement.

```csharp
public Shape AddActiveXControl(ControlType type, int topRow, int top, int leftColumn, int left, 
    int width, int height)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| type | ControlType | Der Typ des Steuerelements. |
| topRow | Int32 | Zeilenindex oben links. |
| top | Int32 | Stellt den vertikalen Versatz von Shape von seiner linken Zeile in Pixeleinheiten dar. |
| leftColumn | Int32 | Spaltenindex oben links. |
| left | Int32 | Stellt den horizontalen Versatz von Shape von seiner linken Spalte in Pixeleinheiten dar. |
| height | Int32 | Stellt die Höhe von Shape in Pixeleinheiten dar. |
| width | Int32 | Stellt die Breite von Shape in Pixeleinheiten dar. |

### Beispiele

```csharp

[C#]
//Fügen Sie ein ActiveX-Steuerelement hinzu
Shape activeXControl = shapes.AddActiveXControl(Aspose.Cells.Drawing.ActiveXControls.ControlType.CheckBox, 1, 0, 1, 0, 100, 50);
```

### Siehe auch

* class [Shape](../../shape)
* enum [ControlType](../../../aspose.cells.drawing.activexcontrols/controltype)
* class [ShapeCollection](../../shapecollection)
* namensraum [Aspose.Cells.Drawing](../../shapecollection)
* Montage [Aspose.Cells](../../../)

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