# BarcodeTypeSettings Object

> The BarcodeTypeSettings object provides methods to apply barcode type specific settings.

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

---

### Description

The BarcodeTypeSettings object provides methods to apply barcode type specific settings.

### Syntax

```javascript
BarcodeTypeSettings
```

### Examples

The following example demonstrates `BarcodeTypeSettings` in a practical document-editing workflow. The BarcodeTypeSettings object provides methods to apply barcode type specific settings.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

TXTextControl.barcodeTypeSettings.getHasCheckValue(
    function(result) {
        if (result) {
            console.log("get has check value is available.");
        } else {
            console.warn("get has check value is not available in the current document state.");
        }
    },
    onTxError
);
```

---

## In This Section

- [Javascript: BarcodeTypeSettings.getHasCheckValue Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcodetypesettings/gethascheckvalue-method/llms-full.txt): Gets a value indicating whether the currently used barcode type includes a check value.
- [Javascript: BarcodeTypeSettings.getShowCheckValue Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcodetypesettings/getshowcheckvalue-method/llms-full.txt): Gets a value indicating whether the check value of the currently used barcode type is shown with the encrypted barcode text value.
- [Javascript: BarcodeTypeSettings.setHasCheckValue Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcodetypesettings/sethascheckvalue-method/llms-full.txt): Sets a value indicating whether the currently used barcode type includes a check value.
- [Javascript: BarcodeTypeSettings.setShowCheckValue Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcodetypesettings/setshowcheckvalue-method/llms-full.txt): Sets or sets a value indicating whether the check value of the currently used barcode type is shown with the encrypted barcode text value.

---

## Nearby

- **Previous:** [Javascript: BarcodeFrame.refresh Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcodeframe/refresh-method/llms-full.txt)
- **Next:** [Javascript: BarcodeTypeSettings.getHasCheckValue Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcodetypesettings/gethascheckvalue-method/llms-full.txt)
