BarcodeFormats Property

Description

Gets or sets the barcode formats to read.

Property Type

Read-Write

Syntax

Public Property BarcodeFormats As VARIANT

Remarks

Allowed Values Hex Value Barcode Type
CODE_39 0x1 CODE_39
CODE_128 0x2 CODE_128
CODE_93 0x4 CODE_93
CODABAR 0x8 CODABAR
ITF 0x10 ITF
EAN_13 0x20 EAN_13
EAN_8 0x40 EAN_8
UPC_A 0x80 UPC_A
UPC_E 0x100 UPC_E
INDUSTRIAL_25 0x200 Industrial 2 of 5
OneD 0x3FF OneD
PDF417 0x2000000 PDF417
QR_CODE 0x4000000 QRCode
DATAMATRIX 0x8000000 DATAMATRIX

Example

Dim oFormat As New BarcodeFormat
Dim vFormat As Variant
vFormat = 0
vFormat = vFormat Or oFormat.CODE_39

See Also

ActiveX/COM > Objects > ReaderOptions > MaxBarcodesNumPerPage
ActiveX/COM > Objects > BarcodeFormat