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)
HasValue Returns true if the record has a defined value. This is the inverse of IsNull
IsNull Returns true if the record doesn't have a defined value.
Null Creates an empty instance of an Hyperlink class.
ToString Returns the text and description of the link.

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
BaseUrl Base Url that must be combined with Text. This only happens if the file has a LinkBase property set.
Description Description of the HyperLink.
FullUrl Returns BaseUrl combined with Text when Text is not an absolute Uri.
Hint Hint when the mouse hovers over the hyperlink.
LinkType The type of hyperlink: to a local file, to a url, to a cell or to a networked file.
TargetFrame This parameter is not documented. You will probably leave it empty.
Text Text of the HyperLink. This is empty when linking to a cell.
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.