Hyperlink

Encapsulates the object that represents a hyperlink.

class Hyperlink;

Methods

MethodDescription
getAddress()Represents the address of a hyperlink.
setAddress(string)Represents the address of a hyperlink.
getTextToDisplay()Represents the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink.
setTextToDisplay(string)Represents the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink.
getArea()Gets the range of hyperlink.
getScreenTip()Returns or sets the ScreenTip text for the specified hyperlink.
setScreenTip(string)Returns or sets the ScreenTip text for the specified hyperlink.
getLinkType()Gets the link type.
delete()Deletes this hyperlink

getAddress()

Represents the address of a hyperlink.

getAddress() : string;

setAddress(string)

Represents the address of a hyperlink.

setAddress(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getTextToDisplay()

Represents the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink.

getTextToDisplay() : string;

setTextToDisplay(string)

Represents the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink.

setTextToDisplay(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getArea()

Gets the range of hyperlink.

getArea() : CellArea;

Returns

CellArea

getScreenTip()

Returns or sets the ScreenTip text for the specified hyperlink.

getScreenTip() : string;

setScreenTip(string)

Returns or sets the ScreenTip text for the specified hyperlink.

setScreenTip(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getLinkType()

Gets the link type.

getLinkType() : TargetModeType;

Returns

TargetModeType

delete()

Deletes this hyperlink

delete() : void;