TX Text Control .NET for Windows Forms

LoadHypertextLinks Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies whether or not hypertext links are loaded. By default hypertext links are loaded.

Syntax

public bool LoadHypertextLinks { get; set; }

Examples

The following example configures how a WordprocessingML template is loaded by using LoadSettings.LoadHypertextLinks.

LoadSettings loadSettings = new();

loadSettings.LoadHypertextLinks = true;
if (loadSettings.LoadHypertextLinks)
{
    Console.WriteLine("Load Settings: Load Hypertext Links is enabled.");
}

textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);