HyperlinkCollection

HyperlinkCollection

Overview

HyperlinkCollection is a class in Aspose.Cells for NET.

HyperlinkCollection.Add adds a hyperlink for a range defined by cell name, rows, columns, and address.

Description

HyperlinkCollection is a class in the Aspose.Cells FOSS library for .NET that exposes 5 methods and 2 properties for programmatic use.

The class also provides the Count property (gets the total number of hyperlinks in the collection).

Properties

NameTypeAccessDescription
CapacityintRead/WriteGets or sets the number of elements that the collection can contain.
CountintReadGets the total number of hyperlinks in the collection.

Methods

SignatureDescription
Add(cellName: string, totalRows: int, totalColumns: int, address: string)Adds a hyperlink for a range defined by cell name, row count, column count, and address.
Add(firstRow: int, firstColumn: int, totalRows: int, totalColumns: int, address: string)Adds a hyperlink for a range defined by row and column indices, row count, column count, and address.
Add(startCellName: string, endCellName: string, address: string, textToDisplay: string, screenTip: string)Adds a hyperlink for a range defined by start and end cell names, with address, display text, and screen tip.
Clear()Removes all hyperlinks from the collection.
RemoveAt(index: int)Removes the hyperlink at the specified zero-based index.

See Also

 English