TX Text Control .NET Server

BackColor Property

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

Description

Gets or sets the background color for the barcode control. The default color is System.Drawing.SystemColors.Window.

Syntax

public Color BackColor { get; set; }

Examples

The following example uses TXBarcodeCore.BackColor to set the txbarcode core's background color. The configured value is checked before the workflow continues.

tXBarcodeCore.BackColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Back Color used by TXBarcode Core: {tXBarcodeCore.BackColor}");