TX Text Control .NET for WPF

ShowText Property

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

Description

Gets or sets a value indicating whether the barcode text is displayed below or above the barcode image or not. The default value is true.

Syntax

public bool ShowText { get; set; }

Examples

The following example uses TXBarcodeControl.ShowText to configure show text as part of the txbarcode control workflow. The configured value is checked before the workflow continues.

tXBarcodeControl.ShowText = true;
if (tXBarcodeControl.ShowText)
{
    Console.WriteLine("TXBarcode Control: Show Text is enabled.");
}

Remarks

This property is only executable for one dimensional barcodes.