Colors Constructor
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Initializes a new instance of the TextViewGenerator.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 default values.
Syntax
public Colors();Public Sub New()Examples
The following example creates a Colors instance and configures its desktop color setting for a document workflow.
TXTextControl.ServerVisualisation.TextViewGenerator.Colors colors = new();
colors.DesktopColor = System.Drawing.Color.LightSteelBlue;Dim colors As New TXTextControl.ServerVisualisation.TextViewGenerator.Colors()
colors.DesktopColor = System.Drawing.Color.LightSteelBlue