Removes a hypertext link from a Text Control document.

Remove(HypertextLink)

public bool Remove(HypertextLink hypertextLink);
Public Function Remove(ByVal hypertextLink As HypertextLink) As Boolean

Remove(HypertextLink, Bool)

public bool Remove(HypertextLink hypertextLink, bool keepText);
Public Function Remove(ByVal hypertextLink As HypertextLink, ByVal keepText As Boolean) As Boolean

Parameters

Parameter Description
hypertextLink Specifies the hypertext link to remove.
keepText If this parameter is set to true, the hypertext link is removed without deleting its text. Otherwise, the link's text is also deleted.

Return Value

The return value is true, if the hypertext link could be removed. Otherwise it is false.