RequestBarcodeFrameCallback Function
Description
Callback function for requests expecting a BarcodeFrame object.
Syntax
function(<BarcodeFrame> barcodeFrame)Examples
The following example demonstrates RequestBarcodeFrameCallback in a practical document-editing workflow. Callback function for requests expecting a BarcodeFrame object.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
function requestBarcodeFrameCallback(barcodeFrame) {
console.log("barcode frame:", barcodeFrame);
}
TXTextControl.barcodes.getItem(requestBarcodeFrameCallback, onTxError, 25);