Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >
Dev Center
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

Format Enumeration

The barcode format our library will search for is composed of BarcodeFormat group 1 and BarcodeFormat group 2, so you need to specify the barcode format in group 1 and group 2 individually.

Enumeration Description
BarcodeFormat Describes the barcode types in BarcodeFormat group 1.
BarcodeFormat_2 Describes the barcode types in BarcodeFormat group 2.

BarcodeFormat

Describes the barcode types in BarcodeFormat group 1.

Declarations

Language Declaration
C / C++ enum BarcodeFormat

Members

Member (except ObjC/Swift) Value Description
BF_ALL 0xFE3FFFFF All supported formats in BarcodeFormat group 1.
BF_ONED 0x003007FF Combined value of BF_CODABAR, BF_CODE_128, BF_CODE_39, BF_CODE_39_Extended, BF_CODE_93, BF_EAN_13, BF_EAN_8, INDUSTRIAL_25, BF_ITF, BF_UPC_A, BF_UPC_E, BF_MSI_CODE, BF_CODE_11.
BF_GS1_DATABAR 0x0003F800 Combined value of BF_GS1_DATABAR_OMNIDIRECTIONAL, BF_GS1_DATABAR_TRUNCATED, BF_GS1_DATABAR_STACKED, BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL, BF_GS1_DATABAR_EXPANDED, BF_GS1_DATABAR_EXPANDED_STACKED, BF_GS1_DATABAR_LIMITED.
BF_NULL 0x00 No barcode format in BarcodeFormat group 1.
BF_CODE_39 0x01 Code 39
BF_CODE_128 0x02 Code 128
BF_CODE_93 0x04 Code 93
BF_CODABAR 0x08 Codabar
BF_ITF 0x10 ITF
BF_EAN_13 0x20 EAN-13
BF_EAN_8 0x40 EAN-8
BF_UPC_A 0x80 UPC-A
BF_UPC_E 0x100 UPC-E
BF_INDUSTRIAL_25 0x200 Industrial 2 of 5
BF_MSI_CODE 0x100000 MSI Code
BF_CODE_39_EXTENDED 0x400 Code 39 Extended
BF_CODE_11 0x200000 Code 11
BF_GS1_DATABAR_OMNIDIRECTIONAL 0x800 GS1 Databar Omnidirectional
BF_GS1_DATABAR_TRUNCATED 0x1000 GS1 Databar Truncated
BF_GS1_DATABAR_STACKED 0x2000 GS1 Databar Stacked
BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL 0x4000 GS1 Databar Stacked Omnidirectional
BF_GS1_DATABAR_EXPANDED 0x8000 GS1 Databar Expanded
BF_GS1_DATABAR_EXPANDED_STACKED 0x10000 GS1 Databar Expaned Stacked
BF_GS1_DATABAR_LIMITED 0x20000 GS1 Databar Limited
BF_PATCHCODE 0x00040000 Patch code
BF_MICRO_PDF417 0x00080000 Micro PDF417
BF_PDF417 0x02000000 PDF417
BF_QR_CODE 0x04000000 QRCode
BF_DATAMATRIX 0x08000000 DataMatrix
BF_AZTEC 0x10000000 AZTEC
BF_MAXICODE 0x20000000 MAXICODE
BF_MICRO_QR 0x40000000 Micro QR Code
BF_GS1_COMPOSITE -2147483648 GS1 Composite Code

BarcodeFormat_2

Describes the barcode types in BarcodeFormat group 2.

Declarations

Language Declaration
C / C++ enum BarcodeFormat_2

Members

Member Value Description
BF2_ALL 0xFFFFFFFF All supported formats in BarcodeFormat group 2.
BF2_POSTALCODE 0x01F00000 Combined value of BF2_USPSINTELLIGENTMAIL, BF2_POSTNET, BF2_PLANET, BF2_AUSTRALIANPOST, BF2_RM4SCC.
BF2_PHARMACODE 0x0C Combined value of BF2_PHARMACODE_ONE_TRACK, BF2_PHARMACODE_TWO_TRACK.
BF2_NULL 0x00 No barcode format in BarcodeFormat group 2.
BF2_NONSTANDARD_BARCODE 0x01 Nonstandard barcode
BF2_USPSINTELLIGENTMAIL 0x00100000 USPS Intelligent Mail
BF2_POSTNET 0x00200000 Postnet
BF2_PLANET 0x00400000 Planet
BF2_AUSTRALIANPOST 0x00800000 Australian Post
BF2_RM4SCC 0x01000000 Royal Mail 4-State Customer Barcode
BF2_DOTCODE 0x02 DotCode
BF2_PHARMACODE_ONE_TRACK 0x04 Pharmacode One-Track
BF2_PHARMACODE_TWO_TRACK 0x08 Pharmacode Two-Track

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 9.x
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +
© 2003–2023 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support