Barcode Info

Defined under the namespace Scandit.Datacapture.Barcode

BarcodeInfo
class BarcodeInfo

Added in version 8.3.0

A class used to instantiate a barcode with the specified information. Can be used to create Barcode mocks for unit testing.

create(symbology, data, location)
static create(symbology: Symbology,
        data: string,
        location?: Quadrilateral): BarcodeInfo

Added in version 8.3.0

symbology
get symbology(): Symbology

Added in version 8.3.0

The symbology of the barcode.

data
get data(): string

Added in version 8.3.0

The data of a barcode as a unicode string.

location
get location(): Quadrilateral

Added in version 8.3.0

The location of the code. For more info see Barcode