## AddButton(int, int, int, int, string) {#addbutton}

Fügt eine Schaltfläche zu einer angegebenen Zelle am Zeilenspaltenindex hinzu.

```csharp
public Button AddButton(int row, int col, int width, int height, string text)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| row | Int32 | Zeilenindex der Zelle. |
| col | Int32 | Spaltenindex der Zelle. |
| width | Int32 | Breite der Schaltfläche. |
| height | Int32 | Höhe des Knopfes. |
| text | String | Schaltflächentext. |

### Rückgabewert

Die hinzugefügte Schaltfläche.

### Siehe auch

* class [Button](../../button)
* class [CellControlCollection](../../cellcontrolcollection)
* namensraum [Aspose.Cells.GridDesktop](../../cellcontrolcollection)
* Montage [Aspose.Cells.GridDesktop](../../../)

---

## AddButton(string, int, int, string) {#addbutton_2}

Fügt eine Schaltfläche zu einer angegebenen Zelle nach Zellenname hinzu.

```csharp
public Button AddButton(string cellName, int width, int height, string text)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| cellName | String | Name der Rasterzelle. |
| width | Int32 | Breite der Schaltfläche. |
| height | Int32 | Höhe des Knopfes. |
| text | String | Schaltflächentext. |

### Rückgabewert

Die hinzugefügte Schaltfläche.

### Siehe auch

* class [Button](../../button)
* class [CellControlCollection](../../cellcontrolcollection)
* namensraum [Aspose.Cells.GridDesktop](../../cellcontrolcollection)
* Montage [Aspose.Cells.GridDesktop](../../../)

---

## AddButton(int, int, int, int, string, bool) {#addbutton_1}

Fügt eine Schaltfläche zu einer angegebenen Zelle am Zeilenspaltenindex hinzu.

```csharp
public Button AddButton(int row, int col, int width, int height, string text, bool alwaysVisible)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| row | Int32 | Zeilenindex der Zelle. |
| col | Int32 | Spaltenindex der Zelle. |
| width | Int32 | Breite der Schaltfläche. |
| height | Int32 | Höhe des Knopfes. |
| text | String | Schaltflächentext. |
| alwaysVisible | Boolean | Wenn der Button immer sichtbar sein soll, funktioniert nur der Cell Control Button. |

### Rückgabewert

Die hinzugefügte Schaltfläche.

### Siehe auch

* class [Button](../../button)
* class [CellControlCollection](../../cellcontrolcollection)
* namensraum [Aspose.Cells.GridDesktop](../../cellcontrolcollection)
* Montage [Aspose.Cells.GridDesktop](../../../)

---

## AddButton(string, int, int, string, bool) {#addbutton_3}

Fügt eine Schaltfläche zu einer angegebenen Zelle nach Zellenname hinzu.

```csharp
public Button AddButton(string cellName, int width, int height, string text, bool alwaysVisible)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| cellName | String | Name der Rasterzelle. |
| width | Int32 | Breite der Schaltfläche. |
| height | Int32 | Höhe des Knopfes. |
| text | String | Schaltflächentext. |
| alwaysVisible | Boolean | Wenn der Button immer sichtbar sein soll, funktioniert nur der Cell Control Button. |

### Rückgabewert

Die hinzugefügte Schaltfläche.

### Siehe auch

* class [Button](../../button)
* class [CellControlCollection](../../cellcontrolcollection)
* namensraum [Aspose.Cells.GridDesktop](../../cellcontrolcollection)
* Montage [Aspose.Cells.GridDesktop](../../../)

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