Back to Website
Show / Hide Table of Contents

Interface IBarcodeOptions

A structure defining the barcode options.

Package: @aurigma/design-atoms-interfaces
Examples
{
   "defaultItemsConfig": {
       "barcode": {
           "barcodeOptions": {
               "margin": 0
           }
       }
   }
}

Properties

aztecLayers

Declaration
aztecLayers?: number;
Property Value
Type Description
number

characterSet

Specifies what character encoding to use when decoding.

Declaration
characterSet?: string;
Property Value
Type Description
string

Specifies what character encoding to use when decoding.

code128ForceCodesetB

Declaration
code128ForceCodesetB?: boolean;
Property Value
Type Description
boolean

databarExpandedSegments

Declaration
databarExpandedSegments?: number;
Property Value
Type Description
number

disableEci

Declaration
disableEci?: boolean;
Property Value
Type Description
boolean

errorCorrection

Declaration
errorCorrection?: string;
Property Value
Type Description
string

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
margin?: number;
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
pdf417Compact?: boolean;
Property Value
Type Description
boolean

pdf417Compaction

Declaration
pdf417Compaction?: string;
Property Value
Type Description
string

pdf417Dimensions

Declaration
pdf417Dimensions?: {};
Property Value
Type Description
{}

pureBarcode

If true, the image is a pure monochrome image of a barcode.

Declaration
pureBarcode?: boolean;
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
qrVersion?: number;
Property Value
Type Description
number

The version of QR code to be encoded, in the range [1, 40].

xDimension

Declaration
xDimension?: number;
Property Value
Type Description
number
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback