BarcodeTypeSettings Object
Description
The BarcodeTypeSettings object provides methods to apply barcode type specific settings.
Syntax
BarcodeTypeSettingsExamples
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
| Method | Description |
|---|---|
| getHasCheckValue | Gets a value indicating whether the currently used barcode type includes a check value. |
| getShowCheckValue | Gets a value indicating whether the check value of the currently used barcode type is shown with the encrypted barcode text value. |
| setHasCheckValue | Sets a value indicating whether the currently used barcode type includes a check value. |
| setShowCheckValue | Sets or sets a value indicating whether the check value of the currently used barcode type is shown with the encrypted barcode text value. |