TargetDelete Method
This method can be used to delete a link target or bookmark from the document.
Introduced: 28.0.
Syntax
TXTextControl.TargetDelete TargetId
Parameters
| Parameter | Description |
|---|---|
| TargetId | Specifies the link target's unique identifier. This must be the value returned from the TargetInsert method. |
Return Value
The return value is True, if the specified target could be deleted. Otherwise, it is False. False is returned, if an error occurred or if the specified target id is invalid.
Data Types
| Name | Data type |
|---|---|
| TargetId | Long |
| Return value | Boolean |