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