HyperlinkCollection

HyperlinkCollection

Vue de l’ensemble

‘HyperlinkCollection’ est une classe dans Aspose.Cells pour NET.

HyperlinkCollection.Add ajoute un hyperlien pour une gamme définie par le nom de cellule, les rangs, la colonne et l’adresse.

Description

‘HyperlinkCollection’ est une classe dans la bibliothèque Aspose.Cells FOSS pour .NET qui expose 5 méthodes et 2 propriétés pour l’utilisation programmée.

La classe fournit également la propriété « Count » (qui prend le nombre total d’hyperlinks dans la collection).

Propriétés

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

méthodes

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.

Voir aussi

  • Aspose.Cells pour .NET — Enterprise API Reference
 Français