IBarcodeOptions
Interfaces
IBarcodeOptions
A structure defining the barcode options.
Example
{
"defaultItemsConfig": {
"barcode": {
"barcodeOptions": {
"margin": 0
}
}
}
}
Properties
aztecLayers?
optional aztecLayers?: number;
characterSet?
optional characterSet?: string;
Specifies what character encoding to use when decoding.
code128ForceCodesetB?
optional code128ForceCodesetB?: boolean;
databarExpandedSegments?
optional databarExpandedSegments?: number;
disableEci?
optional disableEci?: boolean;
errorCorrection?
optional errorCorrection?: string;
margin?
optional margin?: number;
Specifies a margin, in pixels. This margin differs for barcode formats, for example, it controls the space before and after the barcode horizontally for linear formats.
pdf417Compact?
optional pdf417Compact?: boolean;
pdf417Compaction?
optional pdf417Compaction?: string;
pdf417Dimensions?
optional pdf417Dimensions?: object;
pureBarcode?
optional pureBarcode?: boolean;
If true, the image is a pure monochrome image of a barcode.
qrVersion?
optional qrVersion?: number;
The version of QR code to be encoded, in the range [1, 40].
xDimension?
optional xDimension?: number;