Interface IBarcodeOptions
A structure defining the barcode options.
Examples
{
"defaultItemsConfig": {
"barcode": {
"barcodeOptions": {
"margin": 0
}
}
}
}
Properties
aztecLayers
Declaration
Property Value
characterSet
Specifies what character encoding to use when decoding.
Declaration
Property Value
Type |
Description |
string |
Specifies what character encoding to use when decoding.
|
code128ForceCodesetB
Declaration
code128ForceCodesetB?: boolean;
Property Value
databarExpandedSegments
Declaration
databarExpandedSegments?: number;
Property Value
disableEci
Declaration
Property Value
errorCorrection
Declaration
errorCorrection?: string;
Property Value
margin
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.
Declaration
Property Value
Type |
Description |
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
Declaration
Property Value
pdf417Compaction
Declaration
pdf417Compaction?: string;
Property Value
pdf417Dimensions
Declaration
Property Value
pureBarcode
If true
, the image is a pure monochrome image of a barcode.
Declaration
Property Value
Type |
Description |
boolean |
If true , the image is a pure monochrome image of a barcode.
|
qrVersion
The version of QR code to be encoded, in the range [1, 40].
Declaration
Property Value
Type |
Description |
number |
The version of QR code to be encoded, in the range [1, 40].
|
xDimension
Declaration
Property Value