# ServerTextControl.HypertextLinks Property

> 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.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 12.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > ServerTextControl.HypertextLinks Property
- **359 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/hypertextlinks-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/hypertextlinks-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/hypertextlinks-property/llms-full.txt

---

### Description

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](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/hypertextlinkcollection/llms-full.txt).

### Syntax

```csharp
public HypertextLinkCollection HypertextLinks { get; }
```

```vbnet
Public ReadOnly Property HypertextLinks As HypertextLinkCollection
```

### Examples

The following example iterates through the hypertext links collection and processes each hypertext link.

```csharp
foreach (HypertextLink hypertextLink in textControl.HypertextLinks)
{
    hypertextLink.DescriptiveText = "Quarterly results";
}
```

```vbnet
For Each hypertextLink As HypertextLink In textControl.HypertextLinks
    hypertextLink.DescriptiveText = "Quarterly results"
Next
```

### Limitations

Runtime only.

Read only.

---

## Nearby

- **Previous:** [ServerTextControl.HeadersAndFooters Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/headersandfooters-property/llms-full.txt)
- **Next:** [ServerTextControl.HyphenateWord Event](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/hyphenateword-event/llms-full.txt)
