---
Product: Aspose.Cells
Platform: typescript
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/typescript/HyperlinkCollection
---

# HyperlinkCollection

## Overview

`HyperlinkCollection` is a class in Aspose.Cells FOSS for Typescript.

HyperlinkCollection.add(row, col, address, display, tooltip) creates a Hyperlink object and adds it to the collection for later serialization.

This class provides 6 methods for working with HyperlinkCollection objects in Typescript programs.
Available methods include: `add`, `clear`, `get`, `getByCell`, `remove`, `toXml`.
All public members are accessible to any Typescript application after installing the Aspose.Cells FOSS for Typescript package.
Properties: `count`.

## Description

`HyperlinkCollection` is a class in the Aspose.Cells FOSS library for TypeScript that exposes 6 methods and 1 property for programmatic use.

Core capabilities include: `number`; removes the hyperlink at the specified index; removes all hyperlinks from the collection. These operations enable developers to integrate hyperlinkcollection functionality directly into TypeScript applications.

The class also provides the `count` property (gets the count).

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `count` | `number` | Read | Gets the count. |

## Methods

| Signature | Description |
|-----------|-------------|
| `add(row: number, col: number, address: string, display: string, tooltip: string)` → `Hyperlink` | Creates a Hyperlink object and adds it to the collection for later serialization |
| `get(index: number)` → `Hyperlink \| undefined` | Returns the hyperlink at the given index, or undefined if not found. |
| `getByCell(row: number, col: number)` → `Hyperlink \| undefined` | Returns the hyperlink at the specified cell position, or undefined if not found. |
| `remove(index: number)` | Removes the hyperlink at the specified index. |
| `clear()` | Removes all hyperlinks from the collection. |
| `toXml()` → `string` | Serializes the hyperlink collection to an XML string. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)