
Removes a hypertext link from a Text Control document.
[C#]
public bool Remove(HypertextLink hypertextLink);
public bool Remove(HypertextLink hypertextLink, bool keepText);
[Visual Basic]
Public Function Remove(ByVal hypertextLink As HypertextLink) As Boolean
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. |
The return value is true, if the hypertext link could be removed. Otherwise it is false.