TX Text Control .NET Server

Colors Constructor

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

Description

Initializes a new instance of the RulerBarViewGenerator.Colors class. After creating the object with this constuctor, individual colors can be set. If the Colors object is assigned to the DisplayColors property, non-set colors are reset to their system dependent default values.

Syntax

public Colors();

Examples

The following example creates a Colors instance and configures its fore color setting for a document workflow.

TXTextControl.ServerVisualisation.RulerBarViewGenerator.Colors colors = new();
colors.ForeColor = System.Drawing.Color.LightSteelBlue;