TX Text Control .NET Server

DefaultHighlightColor Property

Property|Introduced in 29.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Represents the default highlight color. It is black with an alpha value of 60.

Syntax

public static Color DefaultHighlightColor { get; }

Examples

The following example creates a table of contents for the document's heading styles by using TableOfContents.DefaultHighlightColor.

TableOfContents tableOfContents = new(1, 3) { Name = "Contents", ID = 10 };
textControl.TablesOfContents.Add(tableOfContents);

Console.WriteLine($"Default Highlight Color: {TableOfContents.DefaultHighlightColor}");
Console.WriteLine("Table Of Contents is ready for use.");

Limitations

Read only.