
Removes a document link from a Text Control document.
[C#]
public bool Remove(DocumentLink documentLink);
public bool Remove(DocumentLink documentLink, bool keepText);
[Visual Basic]
Public Function Remove(ByVal documentLink As DocumentLink) As Boolean
Public Function Remove(ByVal documentLink As DocumentLink, ByVal keepText As Boolean) As Boolean
| Parameter | Description | |
| documentLink | Specifies the document link to remove. | |
| keepText | If this parameter is set to true, the document link is removed without deleting its text. Otherwise, the link's text is also deleted. |
The return value is true, if the document link could be removed. Otherwise it is false.