Table of Contents

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

The linked cell in A1 form, such as "B7".

public string Address { get; }

Property Value

string

1-based column of the linked cell (column A is 1).

public int Column { get; }

Property Value

int

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

string

In-workbook target such as "'Summary'!A1" or a defined name. Null for external links.

public string? Location { get; }

Property Value

string

1-based row of the linked cell.

public int Row { get; }

Property Value

int

Hover text, when the file carries one.

public string? Tooltip { get; }

Property Value

string

External target (https://, mailto:, a file path), resolved from the sheet's relationships. Null for in-workbook links.

public string? Url { get; }

Property Value

string

Methods

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.