Javascript: TXTextControl.barcodes Property
Description
Gets a collection of all barcode frames contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type BarcodeCollection.
Syntax
<BarcodeCollection> TXTextControl.barcodesExamples
The following example demonstrates TXTextControl.barcodes in a practical document-editing workflow. It gets a collection of all barcode frames contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property value is an object of the type BarcodeCollection.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
tXTextControl.barcodes.getCount(function(count) {
console.log("barcodes count:", count);
}, onTxError);Limitations
Read Only.