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.


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


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


Read only.