Gets a collection of all hypertext links contained in the main text of the document. The property's value is an object of the type HypertextLinkCollection.

Syntax

public HypertextLinkCollection HypertextLinks { get; }
Public ReadOnly Property HypertextLinks() As HypertextLinkCollection

Examples

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

TXTextControl.MainText mainText = textControl1.TextParts.GetMainText();
//...
TXTextControl.HypertextLinkCollection myMainTextHypertextLinksColl = mainText.HypertextLinks;
//...
Dim mainText As TXTextControl.MainText = TextControl1.TextParts.GetMainText()
'...
Dim myMainTextHypertextLinksColl As TXTextControl.HypertextLinkCollection = mainText.HypertextLinks
'...

Limitations

Read only.