## Add(int, int, int, int, string) {#add}

Lägger till en hyperlänk till en specificerad cell eller ett cellintervall.

```csharp
public int Add(int firstRow, int firstColumn, int totalRows, int totalColumns, string address)
```

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| firstRow | Int32 | Första raden i hyperlänksintervallet. |
| firstColumn | Int32 | Första kolumnen i hyperlänksintervallet. |
| totalRows | Int32 | Antal rader i detta hyperlänksintervall. |
| totalColumns | Int32 | Antal kolumner i detta hyperlänksintervall. |
| address | String | Adress till hyperlänken. |

### Returvärde

Hyperlink objektindex.

### Exempel

```csharp
[C#]

Worksheet worksheet = excel.Worksheets[0];
worksheet.Hyperlinks.Add("A4", 1, 1, "http://www.aspose.com");
worksheet.Hyperlinks.Add("A5", 1, 1, "c:\\book1.xls");

[Visual Basic]

Dim worksheet as Worksheet = excel.Worksheets(0)
worksheet.Hyperlinks.Add("A4", 1, 1, "http://www.aspose.com")
worksheet.Hyperlinks.Add("A5", 1, 1, "c:\\book1.xls")

```

### Se även

* class [GridHyperlinkCollection](../../gridhyperlinkcollection)
* namnutrymme [Aspose.Cells.GridWeb.Data](../../gridhyperlinkcollection)
* hopsättning [Aspose.Cells.GridWeb](../../../)

---

## Add(string, int, int, string) {#add_1}

Lägger till en hyperlänk till en specificerad cell eller ett cellintervall.

```csharp
public int Add(string cellName, int totalRows, int totalColumns, string address)
```

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| cellName | String | Cellnamn. |
| totalRows | Int32 | Antal rader i detta hyperlänksintervall. |
| totalColumns | Int32 | Antal kolumner i detta hyperlänksintervall. |
| address | String | Adress till hyperlänken. |

### Returvärde

[`GridHyperlink`](../../gridhyperlink) objektindex.

### Se även

* class [GridHyperlinkCollection](../../gridhyperlinkcollection)
* namnutrymme [Aspose.Cells.GridWeb.Data](../../gridhyperlinkcollection)
* hopsättning [Aspose.Cells.GridWeb](../../../)

---

## Add(string, string) {#add_2}

Lägger till en hyperlänk till en specificerad cell .

```csharp
public int Add(string cellName, string address)
```

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| cellName | String | Cellnamn. |
| address | String | Adress till hyperlänken. |

### Returvärde

[`GridHyperlink`](../../gridhyperlink) objektindex.

### Se även

* class [GridHyperlinkCollection](../../gridhyperlinkcollection)
* namnutrymme [Aspose.Cells.GridWeb.Data](../../gridhyperlinkcollection)
* hopsättning [Aspose.Cells.GridWeb](../../../)

---

## Add(string, string, string, string, string) {#add_3}

Lägger till en hyperlänk till en specificerad cell eller ett cellintervall.

```csharp
public int Add(string startCellName, string endCellName, string address, string textToDisplay, 
    string screenTip)
```

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| startCellName | String | Den övre vänstra cellen i intervallet. |
| endCellName | String | Den nedre högra cellen i intervallet. |
| address | String | Adress till hyperlänken. |
| textToDisplay | String | Texten som ska visas för den angivna hyperlänken. |
| screenTip | String | Skärmtipstexten för den angivna hyperlänken. |

### Returvärde

[`GridHyperlink`](../../gridhyperlink) objektindex.

### Se även

* class [GridHyperlinkCollection](../../gridhyperlinkcollection)
* namnutrymme [Aspose.Cells.GridWeb.Data](../../gridhyperlinkcollection)
* hopsättning [Aspose.Cells.GridWeb](../../../)

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