ShowText Property
- Namespace
TXTextControl.WPF. Barcode
- Package
TXTextControl.asTextControl. WPF. SDK TXBarcode.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public Property ShowText As BooleanExamples
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.");
}tXBarcodeControl.ShowText = True
If tXBarcodeControl.ShowText Then
Console.WriteLine("TXBarcode Control: Show Text is enabled.")
End IfRemarks
This property is only executable for one dimensional barcodes.