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 line color. The default value is System.Drawing.Color.Black.

Syntax

public Color Color { get; set; }

Examples

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

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