HighlightColor Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
Description
Specifies the color the inserted merge block is highlighted with if the input position is inside the block. The alpha value of the provided color is used.
Syntax
public Color HighlightColor { get; set; }Public Property HighlightColor As ColorExamples
The following example uses MergeBlockSettings.HighlightColor to make the merge block settings easy to identify during editing. The configured value is checked before the workflow continues.
mergeBlockSettings.HighlightColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Highlight Color used by Merge Block Settings: {mergeBlockSettings.HighlightColor}");mergeBlockSettings.HighlightColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Highlight Color used by Merge Block Settings: {mergeBlockSettings.HighlightColor}")