Gets a collection of all targets contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type DocumentTargetCollection.

Syntax

public DocumentTargetCollection DocumentTargets { get; }
Public ReadOnly Property DocumentTargets() As DocumentTargetCollection

Limitations

Runtime only.

Read only.

See Also

Text Fields and Hypertext Links - Hypertext Links.