Gets a collection of all links in the main text of the document which point to targets in the same document. The property value is an object of the type DocumentLinkCollection.

Introduced: X13.

Syntax

public DocumentLinkCollection DocumentLinks { get; }
Public ReadOnly Property DocumentLinks() As DocumentLinkCollection

Examples

The following examples describes how to use the 'TXTextControl.MainText.DocumentLinks' property by storing it in a variable of the type 'TXTextControl.DocumentLinkCollection'.

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText();
//...
TXTextControl.DocumentLinkCollection myMainTextDocLinkColl = mainText.DocumentLinks;
//....
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
'...
Dim myMainTextDocLinkColl As TXTextControl.DocumentLinkCollection = mainText.DocumentLinks
'...

Limitations

Read only.