# TXTextControl.BarcodeType Object

> Contains the existing barcode types. For a list of possible values see the TX Barcode .NET Programmer's Guide.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > TXTextControl.BarcodeType Object
- **167 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-barcodetype/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-barcodetype/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-barcodetype/llms-full.txt

---

### Description

Contains the existing barcode types. For a list of possible values see the TX Barcode .NET Programmer's Guide.

### Syntax

```javascript
TXTextControl.BarcodeType
```

### Examples

The following example demonstrates `TXTextControl.BarcodeType` in a practical document-editing workflow. It contains the existing barcode types. For a list of possible values see the TX Barcode .NET Programmer's Guide.

```javascript
function inspectBarcodeType(barcodeType) {
    console.log("TXTextControl.BarcodeType object:", barcodeType);
}
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.BarcodeTextAlignment Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/barcodetextalignment-enumeration/llms-full.txt)
- **Next:** [Javascript: TXTextControl.barcodeTypeSettings Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/barcodetypesettings-property/llms-full.txt)
