TX Text Control ActiveX

TargetDelete Method

Method

This method can be used to delete a link target or bookmark from the document.

Introduced: 28.0.

Syntax

TXTextControl.TargetDelete TargetId

Parameters

ParameterDescription
TargetIdSpecifies 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

NameData type
TargetIdLong
Return valueBoolean

See Also