TX Text Control ActiveX

TargetInsert Method

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

Parameters

ParameterDescription
TargetNameSpecifies the name of the target.
DeleteableWhen set to True, the target can be deleted through the end-user during editing the document. Otherwise the target is protected.

Return Value

ValueDescription
0An error has occurred.
otherwiseThe target's internal unique identifier.

Data Types

NameData type
TargetNameString
DeleteableBoolean
Return valueLong

See Also