TX Text Control .NET for WPF

BarcodeType Enumeration

Enumeration
Namespace
TXTextControl.Barcode
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXBarcode.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXBarcode.dll from the setup.

Description

Determines the type of barcode that is created by TX Barcode. The enumeration contains the following values:

Syntax

public enum BarcodeType

Members

MemberValueDescription
Code1282Code128 is an alphanumeric barcode with high information density.
Interleaved2of562 of 5 is a barcode that encrypts digits only.
Code3983 of 9 is a barcode that encrypts alphanumeric values.
AztecCode9AztecCode is a two-dimensional barcode that encrypts up to 1300 ASCII values.
IntelligentMail10Intelligent Mail barcode is a barcode type that encrypts postal zip codes and it the successor of Postnet.
EAN133EAN 13 is a barcode that encrypts 13 digits and is used for marking retail goods.
EAN85EAN 8 is derived from barcode type EAN13 and encrypts 8 digits.
UPCA4UPC-A barcode encrypts 12 digits and is very similar to EAN 13.
Postnet7Postnet is a barcode type that encrypts postal zip codes.
QRCode1QR Code is a two-dimensional barcode that encrypts up to 1270 ASCII values or 1850 alphanumeric values. By design TX Barcode switches encryption mode when necessary.
Datamatrix11Datamatrix is a two-dimensional barcode that encrypts up to 1301 ASCII values.
PDF41712PDF 417 is a two-dimensional barcode that encrypts up to 1500 ASCII values.
MicroPDF13MicroPDF is a two-dimensional barcode that encrypts up to 250 ASCII values.
Codabar14Codabar is a barcode that encrypts digits and the characters '-', '$', ':', '/', '.' and '+'.
FourState154State is a barcode that encrypts 8 digits.
Code1116Code 11 is a barcode that encrypts up to 50 digits.
Code9317Code 93 is a barcode that encrypts alphanumeric values and the characters '.', '$', '/', '+', and '%'.
PLANET18PLANET is a barcode that encrypts digits.
RoyalMail19Royal Mail is a barcode that encrypts alphanumeric characters and characters ')' and '(' .
Maxicode20Maxicode is a two-dimensional barcode that encrypts strings with the following regular expression: "[0-9]{3}~[0-9]{3}~[0-9A-Z ]{6}|[0-9 ]{9}~[0-9A-Z*-.!""#$+%&'\\(), -:;<=>?[]{}@^_|~\a\b\t\n\f\r]*" or "[)>~[0-9]{2}~[0-9]{2}[0-9 ]{9}|[0-9A-Z ]{6}~[0-9]{3}~[0-9]{3}~[0-9A-Z*-.!""#$+%&'\\(), -:;<=>?[]{}@^_|~\a\b\t\n\f\r]*"

Examples

The following example selects the QRCode value from the Barcode Type enumeration and uses it as a documented workflow choice.

TXTextControl.Barcode.BarcodeType value = TXTextControl.Barcode.BarcodeType.QRCode;
Console.WriteLine($"Using Barcode Type: {value}");

Further Reading

  • Understanding the UpperTextLength of Barcodes in TX Text Control X9 –