TX Text Control .NET Server

BarcodeTypeSettings Object

Object|Introduced in 28.0

Description

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

Syntax

BarcodeTypeSettings

Examples

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

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
);

Members

Methods

MethodDescription
getHasCheckValueGets a value indicating whether the currently used barcode type includes a check value.
getShowCheckValueGets a value indicating whether the check value of the currently used barcode type is shown with the encrypted barcode text value.
setHasCheckValueSets a value indicating whether the currently used barcode type includes a check value.
setShowCheckValueSets or sets a value indicating whether the check value of the currently used barcode type is shown with the encrypted barcode text value.