# BarcodeType Enumeration

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **Namespace:** `TXTextControl.Barcode`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXBarcode.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXBarcode.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.Barcode > BarcodeType Enumeration
- **1218 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/barcodetype/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/barcodetype/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/barcodetype/enumeration/llms-full.txt

---

### Description

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

### Syntax

```csharp
public enum BarcodeType
```

```vbnet
Public Enum BarcodeType
```

### Members

| 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.

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

```vbnet
Dim value As TXTextControl.Barcode.BarcodeType = TXTextControl.Barcode.BarcodeType.QRCode
Console.WriteLine($"Using Barcode Type: {value}")
```

---

## Nearby

- **Previous:** [Alignment Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/alignment/enumeration/llms-full.txt)
- **Next:** [BarcodeTypeSettings Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-barcode/barcodetypesettings/llms-full.txt)
