HyperlinkCollection
Overview
HyperlinkCollection is a class in Aspose.Cells FOSS for Java.
Represents a collection of hyperlinks in a worksheet.
This class provides 4 methods for working with HyperlinkCollection objects in Java programs.
Available methods include: add, get, getCount, removeAt.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: count.
Description
HyperlinkCollection is a class in the Aspose.Cells FOSS library for Java that exposes 6 methods and 1 property for programmatic use.
Core capabilities include: Removes the hyperlink at the specified index. These operations enable developers to integrate hyperlinkcollection functionality directly into Java applications.
The class also provides the count property (gets the number of hyperlinks in the collection).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the number of hyperlinks in the collection. |
Methods
| Signature | Description |
|---|---|
getCount() → int | Gets the number of hyperlinks in the collection. |
get(index: int) → Hyperlink | Gets the hyperlink at the specified index. |
add(cellName: String, totalRows: int, totalColumns: int, address: String) → int | Adds a hyperlink anchored at a single cell. |
add(firstRow: int, firstColumn: int, totalRows: int, totalColumns: int, address: String) → int | Adds a hyperlink with explicit row/column coordinates. |
add(startCellName: String, endCellName: String, address: String, textToDisplay: String, screenTip: String) → int | Adds a hyperlink between two cells with optional display text and tooltip. |
removeAt(index: int) | Removes the hyperlink at the specified index. |