EAN13 & UPCA Classification

Defined under the namespace Scandit.Datacapture.Barcode

Ean13UpcaClassification
class Ean13UpcaClassification

Added in version 6.15.0

Helper class to distinguish between UPC-A and EAN13 barcodes. Normally they are both returned as an Symbology.EAN13UPCA because UPC-A codes are a subset of EAN-13 instead of an entirely separate symbology.

isUpca(barcode)
static isUpca(barcode: Barcode): boolean

Added in version 6.15.0

Returns true if barcode is UPC-A.

isEan13(barcode)
static isEan13(barcode: Barcode): boolean

Added in version 6.15.0

Returns true if barcode is EAN 13.