Class ExcelHyperlink
- Namespace
- SheetStream.Reading
- Assembly
- SheetStream.dll
A hyperlink read from a sheet. Exactly one of Url (web, mail or file target) and Location (a place in the same workbook) is normally set.
public sealed class ExcelHyperlink
- Inheritance
-
ExcelHyperlink
- Inherited Members
Properties
Address
The linked cell in A1 form, such as "B7".
public string Address { get; }
Property Value
Column
1-based column of the linked cell (column A is 1).
public int Column { get; }
Property Value
Display
Display text stored on the link itself, when present. Excel writes it for links created through its UI; files written by code usually leave it out, in which case the cell value is the visible text.
public string? Display { get; }
Property Value
Location
In-workbook target such as "'Summary'!A1" or a defined name. Null for external links.
public string? Location { get; }
Property Value
Row
1-based row of the linked cell.
public int Row { get; }
Property Value
Tooltip
Hover text, when the file carries one.
public string? Tooltip { get; }
Property Value
Url
External target (https://, mailto:, a file path), resolved from the sheet's relationships. Null for in-workbook links.
public string? Url { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.