BorderColor Property
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. Core. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Public Property BorderColor As ColorExamples
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}");tXDrawingCore.BorderColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Border Color used by TXDrawing Core: {tXDrawingCore.BorderColor}")