HyperlinkCollection
Vue de l’ensemble
‘HyperlinkCollection’ est une classe dans Aspose.Cells FOSS pour C++.
Encapsule les hyperliens définis pour un feuille de travail.
Cette classe fournit 5 méthodes pour travailler avec les objets HyperlinkCollection dans des programmes C++. Les méthodologies disponibles comprennent: Add, GetCount et RemoveAt. Tous les membres publics sont accessibles à n’importe quelle application C ++ après l’installation de l’Aspouse.Cells FOSS pour le package C+.
méthodes
| Signature | Description |
|---|---|
GetCount() → int | Gets the number of hyperlinks in the worksheet. |
Add(firstRow: int, firstColumn: int, totalRows: int, totalColumns: int, address: std::string_view) → int | Adds a hyperlink anchored at a cell or rectangular range specified by zero-based coordinates. The zero-based first row index. The zero-based first column index. The total number of rows. The total number of columns. The hyperlink address. The zero-based index of the added hyperlink. |
Add(cellName: std::string_view, totalRows: int, totalColumns: int, address: std::string_view) → int | Adds a hyperlink anchored at a cell or rectangular range specified by its top-left A1 reference. The top-left cell reference in A1 notation. The total number of rows. The total number of columns. The hyperlink address. The zero-based index of the added hyperlink. |
Add(startCellName: std::string_view, endCellName: std::string_view, address: std::string_view, textToDisplay: std::string_view, screenTip: std::string_view) → int | Adds a hyperlink over the specified A1 range and optional display text metadata. The start cell reference in A1 notation. The end cell reference in A1 notation. The hyperlink address. The display text, or empty for none. The screen tip text, or empty for none. The zero-based index of the added hyperlink. |
RemoveAt(index: int) | Removes the hyperlink at the specified zero-based index. The zero-based index of the hyperlink to remove. |
Voir aussi
- Aspose.Cells — référence API d’entreprise