ExperimentalThis method returns the possible configuration options which are valid for the given barcode type.
the barcode type for which the configuration options are requested.
a BarcodeConfigurationOptions object
ExperimentalThis method will remove the source from the barcode frame provided.
the id of the barcodeFrame that needs to have the source removed.
ExperimentalThis method sets the combined state of the quiet zone values.
The id of the specific barcode frame
Whether the quiet zone values are combined
ExperimentalThis method will set the barcode background color of a specified barcode frame.
the id of the barcodeFrame that needs to be updated.
the new barcode background color that you want to set to the barcodeFrame.
ExperimentalThis method will set the source of the barcode to the given source.
the id of the barcodeFrame that needs to be updated.
the new source that you want to set to the barcodeFrame.
ExperimentalThis method will set the bar color of a specified barcode frame.
the id of the barcodeFrame that needs to be updated.
the new bar color that you want to set to the barcodeFrame.
ExperimentalThis method sets the bar height for 1-dimensional barcodes.
the id of the barcodeFrame that needs to be updated.
the height of the bars in the barcode. The string value will be calculated (f.e. 1+1 will result in 2)
ExperimentalThis method sets the character set for the barcode.
The id of the specific barcode frame.
The character set to set.
ExperimentalThis method sets the flag to render the end characters of the barcode. This is not supported for all barcode types.
The id of the specific barcode frame.
The flag indicating if the end characters should be drawn or not
ExperimentalThis method sets the flag to render the start and end characters of the barcode. This is not supported for all barcode types.
The id of the specific barcode frame.
The flag indicating if the start and stop characters should be drawn or not
ExperimentalThis method will set the background of a barcode enabled or disabled
the id of the barcodeFrame that needs to be updated.
Whether the barcode's background is visible.
ExperimentalThis method will set the visibility of the barcode's bars.
the id of the barcodeFrame that needs to be updated.
Whether the barcode bars are visible.
ExperimentalThis method enables/disables displaying the text of the barcode.
the id of the barcodeFrame that needs to be updated.
true if the text should be displayed, false otherwise.
ExperimentalThis method sets the character set for the barcode.
The id of the specific barcode frame.
The error correction level to set.
ExperimentalThis method sets the magnification for 1-dimensional barcodes.
the id of the barcodeFrame that needs to be updated.
the magnification of the barcode. This is a decimal value where 1 denotes 100%. (f.e. 1.5 will result in 150%)
ExperimentalThis method sets the quiet zone value of a specific barcode.
The id of the specific barcode frame
The quiet zone value
Optionalposition: PositionEnumWhen defined will update the quiet value of a single position,
otherwise will set all positions to the same value. Depending on this parameter
being defined, the areQuietZoneValuesCombined will also be updated.
The BarcodeController is responsible for all communication regarding Barcodes. Methods inside this controller can be called by
window.SDK.barcode.{method-name}