Table of Contents

THyperLink Record

An encapsulation of an Excel hyperlink.

Syntax

Unit: FlexCel.Core

THyperLink = record;

Methods

Name Description
Create Overloaded
Create
Create(string, string, string, string)
Create(THyperLinkType, string, string, string, string)
Create(THyperLinkType, string, string, string, string, string)
Create(THyperLinkType, string, string, string, string, string, string)
Null Creates an empty instance of an Hyperlink class.
ToString Returns the text and description of the link.
IsNull Returns true if the record doesn't have a defined value.
HasValue Returns true if the record has a defined value. This is the inverse of IsNull

Operators

Name Description
Equality Adapts the = operator so it returns true when both instances have the same values.
Inequality Adapts the <> operator so it returns true when both instances have different values.

Properties

Name Description
LinkType The type of hyperlink: to a local file, to a url, to a cell or to a networked file.
Text Text of the HyperLink. This is empty when linking to a cell.
BaseUrl Base Url that must be combined with Text. This only happens if the file has a LinkBase property set.
FullUrl Returns BaseUrl combined with Text when Text is not an absolute Uri.
Description Description of the HyperLink.
TargetFrame This parameter is not documented. You will probably leave it empty.
TextMark When entering a URL, you can enter additional text following the url with a "#" character (for example www.​your_​url.​com#​myurl"​) The text Mark is the text after the "#" char. When entering an address to a cell, the address goes here too.
Hint Hint when the mouse hovers over the hyperlink.