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

إضافة زر إلى خلية محددة في فهرس عمود الصف .

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

| معامل | يكتب | وصف |
| --- | --- | --- |
| row | Int32 | فهرس صف الخلية. |
| col | Int32 | فهرس العمود للخلية. |
| width | Int32 | عرض الزر. |
| height | Int32 | ارتفاع الزر. |
| text | String | زر كتابة. |

### قيمة الإرجاع

الزر المضاف.

### أنظر أيضا

* class [Button](../../button)
* class [CellControlCollection](../../cellcontrolcollection)
* مساحة الاسم [Aspose.Cells.GridDesktop](../../cellcontrolcollection)
* المجسم [Aspose.Cells.GridDesktop](../../../)

---

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

إضافة زر إلى خلية محددة باسم الخلية.

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

| معامل | يكتب | وصف |
| --- | --- | --- |
| cellName | String | اسم خلية الشبكة. |
| width | Int32 | عرض الزر. |
| height | Int32 | ارتفاع الزر. |
| text | String | زر كتابة. |

### قيمة الإرجاع

الزر المضاف.

### أنظر أيضا

* class [Button](../../button)
* class [CellControlCollection](../../cellcontrolcollection)
* مساحة الاسم [Aspose.Cells.GridDesktop](../../cellcontrolcollection)
* المجسم [Aspose.Cells.GridDesktop](../../../)

---

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

إضافة زر إلى خلية محددة في فهرس عمود الصف .

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

| معامل | يكتب | وصف |
| --- | --- | --- |
| row | Int32 | فهرس صف الخلية. |
| col | Int32 | فهرس العمود للخلية. |
| width | Int32 | عرض الزر. |
| height | Int32 | ارتفاع الزر. |
| text | String | زر كتابة. |
| alwaysVisible | Boolean | إذا كان الزر يجب أن يكون مرئيًا دائمًا ، فاعمل فقط مع زر التحكم في الخلية. |

### قيمة الإرجاع

الزر المضاف.

### أنظر أيضا

* class [Button](../../button)
* class [CellControlCollection](../../cellcontrolcollection)
* مساحة الاسم [Aspose.Cells.GridDesktop](../../cellcontrolcollection)
* المجسم [Aspose.Cells.GridDesktop](../../../)

---

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

إضافة زر إلى خلية محددة باسم الخلية.

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

| معامل | يكتب | وصف |
| --- | --- | --- |
| cellName | String | اسم خلية الشبكة. |
| width | Int32 | عرض الزر. |
| height | Int32 | ارتفاع الزر. |
| text | String | زر كتابة. |
| alwaysVisible | Boolean | إذا كان الزر يجب أن يكون مرئيًا دائمًا ، فاعمل فقط مع زر التحكم في الخلية. |

### قيمة الإرجاع

الزر المضاف.

### أنظر أيضا

* class [Button](../../button)
* class [CellControlCollection](../../cellcontrolcollection)
* مساحة الاسم [Aspose.Cells.GridDesktop](../../cellcontrolcollection)
* المجسم [Aspose.Cells.GridDesktop](../../../)

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