DefaultHighlightColor Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Represents the default highlight color. It is black with an alpha value of 60.
Syntax
public static Color DefaultHighlightColor { get; }Public Shared ReadOnly Property DefaultHighlightColor As ColorExamples
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.");Dim tableOfContents As New TableOfContents(1, 3) With { .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.