Removes a hypertext link from a Text Control document.
public bool Remove(HypertextLink hypertextLink);
Public Function Remove(ByVal hypertextLink As HypertextLink) As Boolean
public bool Remove(HypertextLink hypertextLink, bool keepText);
Public Function Remove(ByVal hypertextLink As HypertextLink, ByVal keepText As Boolean) As Boolean
Parameter | Description |
---|---|
hypertext |
Specifies the hypertext link to remove. |
keep |
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.