TX Text Control .NET Server

ShowText 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 a value indicating whether the encrypted barcode text value 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 TXBarcodeCore.ShowText to configure show text as part of the txbarcode core workflow. The configured value is checked before the workflow continues.

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

Remarks

This property is only executable for one dimensional barcodes.