TXTextControl.TargetInsert Method

This method inserts a new link target or bookmark in the text at the current text input position.

Introduced: 28.0.

Syntax

TXTextControl.TargetInsert TargetName, Deleteable
Parameter Description
TargetName

Specifies the name of the target.

Deleteable

When set to True, the target can be deleted through the end-user during editing the document. Otherwise the target is protected.

Return Value


Parameter Description
0 An error has occurred.
otherwise The target's internal unique identifier.

Data Types

TargetName:    String
Deleteable:    Boolean
Return value:    Long

See Also