BarcodeType Enumeration
- Namespace
TXTextControl.Barcode
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXBarcode.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXBarcode.from the setup.dll
Description
Determines the type of barcode that is created by TX Barcode. The enumeration contains the following values:
Syntax
public enum BarcodeTypePublic Enum BarcodeTypeMembers
| Member | Value | Description |
|---|---|---|
| Code128 | 2 | Code128 is an alphanumeric barcode with high information density. |
| Interleaved2of5 | 6 | 2 of 5 is a barcode that encrypts digits only. |
| Code39 | 8 | 3 of 9 is a barcode that encrypts alphanumeric values. |
| AztecCode | 9 | AztecCode is a two-dimensional barcode that encrypts up to 1300 ASCII values. |
| IntelligentMail | 10 | Intelligent Mail barcode is a barcode type that encrypts postal zip codes and it the successor of Postnet. |
| EAN13 | 3 | EAN 13 is a barcode that encrypts 13 digits and is used for marking retail goods. |
| EAN8 | 5 | EAN 8 is derived from barcode type EAN13 and encrypts 8 digits. |
| UPCA | 4 | UPC-A barcode encrypts 12 digits and is very similar to EAN 13. |
| Postnet | 7 | Postnet is a barcode type that encrypts postal zip codes. |
| QRCode | 1 | QR 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. |
| Datamatrix | 11 | Datamatrix is a two-dimensional barcode that encrypts up to 1301 ASCII values. |
| PDF417 | 12 | PDF 417 is a two-dimensional barcode that encrypts up to 1500 ASCII values. |
| MicroPDF | 13 | MicroPDF is a two-dimensional barcode that encrypts up to 250 ASCII values. |
| Codabar | 14 | Codabar is a barcode that encrypts digits and the characters '-', '$', ':', '/', '.' and '+'. |
| FourState | 15 | 4State is a barcode that encrypts 8 digits. |
| Code11 | 16 | Code 11 is a barcode that encrypts up to 50 digits. |
| Code93 | 17 | Code 93 is a barcode that encrypts alphanumeric values and the characters '.', '$', '/', '+', and '%'. |
| PLANET | 18 | PLANET is a barcode that encrypts digits. |
| RoyalMail | 19 | Royal Mail is a barcode that encrypts alphanumeric characters and characters ')' and '(' . |
| Maxicode | 20 | Maxicode 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}");Dim value As TXTextControl.Barcode.BarcodeType = TXTextControl.Barcode.BarcodeType.QRCode
Console.WriteLine($"Using Barcode Type: {value}")