TX Text Control .NET Server

Color Property

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

Description

Gets or sets the shape's fill color. The default value is a structure of type Systen.Drawing.Color with the values A=255, R=91, G=155 and B=213.

Syntax

public Color Color { get; set; }

Examples

The following example uses Fill.Color to configure color as part of the fill workflow. The configured value is checked before the workflow continues.

fill.Color = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Color used by Fill: {fill.Color}");