TX Text Control .NET Server

BorderColor Property

Property|Introduced in 33.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 border line color of the canvas. The default value is System.Drawing.Black.

Syntax

public Color BorderColor { get; set; }

Examples

The following example uses TXDrawingCore.BorderColor to configure border color as part of the txdrawing core workflow. The configured value is checked before the workflow continues.

tXDrawingCore.BorderColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Border Color used by TXDrawing Core: {tXDrawingCore.BorderColor}");