Removes a hypertext link from a Text Control document.


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


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.