TX Text Control .NET for Windows Forms

AdditionalText Property

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

Description

Gets or sets an additional text that is displayed below or above the barcode image.

Syntax

public string AdditionalText { get; set; }

Examples

The following example uses TXBarcodeCore.AdditionalText to configure additional text as part of the txbarcode core workflow. The configured value is checked before the workflow continues.

tXBarcodeCore.AdditionalText = "Quarterly results";
if (!string.IsNullOrWhiteSpace(tXBarcodeCore.AdditionalText))
{
    Console.WriteLine($"Additional Text: {tXBarcodeCore.AdditionalText}");
}