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

Agrega un hipervínculo a una celda específica o a un rango de celdas.

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

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| firstRow | Int32 | Primera fila del rango del hipervínculo. |
| firstColumn | Int32 | Primera columna del rango del hipervínculo. |
| totalRows | Int32 | Número de filas en este rango de hipervínculo. |
| totalColumns | Int32 | Número de columnas de este rango de hipervínculo. |
| address | String | Dirección del hipervínculo. |

### Valor_devuelto

[`Hyperlink`](../../hyperlink) índice de objetos

### Ejemplos

```csharp
[C#]
// Instanciando un objeto Workbook
Workbook excel = new Workbook();
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]

'Crear una instancia de un objeto Workbook
Dim excel As Workbook = New Workbook()
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")

```

### Ver también

* class [HyperlinkCollection](../../hyperlinkcollection)
* espacio de nombres [Aspose.Cells](../../hyperlinkcollection)
* asamblea [Aspose.Cells](../../../)

---

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

Agrega un hipervínculo a una celda específica o a un rango de celdas.

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

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| cellName | String | Nombre de la celda. |
| totalRows | Int32 | Número de filas en este rango de hipervínculo. |
| totalColumns | Int32 | Número de columnas de este rango de hipervínculo. |
| address | String | Dirección del hipervínculo. |

### Valor_devuelto

[`Hyperlink`](../../hyperlink) índice de objetos

### Ver también

* class [HyperlinkCollection](../../hyperlinkcollection)
* espacio de nombres [Aspose.Cells](../../hyperlinkcollection)
* asamblea [Aspose.Cells](../../../)

---

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

Agrega un hipervínculo a una celda específica o a un rango de celdas.

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

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| startCellName | String | La celda superior izquierda del rango. |
| endCellName | String | La celda inferior derecha del rango. |
| address | String | Dirección del hipervínculo. |
| textToDisplay | String | El texto que se mostrará para el hipervínculo especificado. |
| screenTip | String | El texto de la información en pantalla para el hipervínculo especificado. |

### Valor_devuelto

[`Hyperlink`](../../hyperlink) índice de objetos

### Ver también

* class [HyperlinkCollection](../../hyperlinkcollection)
* espacio de nombres [Aspose.Cells](../../hyperlinkcollection)
* asamblea [Aspose.Cells](../../../)

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