Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Programming with LEADTOOLS Barcode

LEADTOOLS supports the reading and writing of the barcode types listed below. For a full list of supported file formats, refer to Summary of All Supported Image File Formats.

Before using any of the methods for reading or writing barcodes, or finding duplicate barcodes, the Barcode DLLs must be loaded and the engine initialized by calling BarcodeEngine.Startup. The barcode methods described below can then be used. Before terminating the application however, the BarcodeEngine.Shutdown must be called to close the engine and free the DLLs.

LEADTOOLS provides one method for recognizing barcodes in the bitmap, and another method for writing the barcode over the bitmap.

Call the BarcodeEngine.Read method, to search for barcodes in the image. This method can recognize one or more barcodes in the image with suitable parameters. To write linear, Data matrix, PDF barcode or QR barcode symbols, call the BarcodeEngine.Write method.

You can read/write barcodes by specifying a color for bars and space. Also, you can write transparent barcodes, but the transparency feature is not recommended.

LEADTOOLS provides a number of functions to let you work with duplicated barcodes. They let you:

  • Find the number of duplicates of a specific barcode
  • Determine whether a specific barcode is duplicated
  • Get the index of the first duplicated barcode
  • Get the index of a subsequent barcode

These are as follows:

If you want to change the duplicated barcode, you must change the BarcodeData.Data property of the BarcodeData class.

For more information, refer to:

Type RSS14 is now GS1 Databar. All references to RSS14 now refer to GS1 Databar

LEADTOOLS supports the reading and writing of several major types of barcodes. These types include:

  • Linear barcodes (1D).
  • PDF417 (2D).
  • MicroPDF417 (2D).
  • Data Matrix (2D).
  • QR.

For each major type of barcode, one or more subtypes are supported for both reading and writing. These subtypes are:

Linear Barcodes:

  • EAN 13
  • EAN 8
  • UPC A
  • UPC E
  • Code 3 of 9
  • Code 128
  • Code 93
  • Interleaved 2 of 5
  • CODABAR
  • UCCEAN 128
  • EAN EXT 5
  • EAN EXT 2
  • MSI
  • Code 11
  • Standard 2 Of 5
  • GS1 Databar (formerly RSS14) Omnidirectional
  • GS1 Databar (formerly RSS14) Truncated
  • GS1 Databar (formerly RSS14) Limited
  • GS1 Databar (formerly RSS14) Expanded
  • Patch Code
  • Postnet
  • Planet
  • Australian Post - 4 State
  • Royal Mail (RM4SCC)
  • GS1 Databar (formerly RSS14) Stacked
  • GS1 Databar (formerly RSS14) Stacked Omnidirectional
  • GS1 Databar (formerly RSS14) Expanded Stacked

PDF Barcodes:

  • PDF417
  • MicroPDF417

Data Matrix:

  • BARCODE_DM_DEF
  • BARCODE_DM_10x10
  • BARCODE_DM_12x12
  • BARCODE_DM_14x14
  • BARCODE_DM_16x16
  • BARCODE_DM_18x18
  • BARCODE_DM_20x20
  • BARCODE_DM_22x22
  • BARCODE_DM_24x24
  • BARCODE_DM_26x26
  • BARCODE_DM_32x32
  • BARCODE_DM_36x36
  • BARCODE_DM_40x40
  • BARCODE_DM_44x44
  • BARCODE_DM_48x48
  • BARCODE_DM_52x52
  • BARCODE_DM_64x64
  • BARCODE_DM_72x72
  • BARCODE_DM_80x80
  • BARCODE_DM_88x88
  • BARCODE_DM_96x96
  • BARCODE_DM_104x104
  • BARCODE_DM_120x120
  • BARCODE_DM_132x132
  • BARCODE_DM_144x144
  • BARCODE_DM_8x18
  • BARCODE_DM_8x32
  • BARCODE_DM_12x26
  • BARCODE_DM_12x36
  • BARCODE_DM_16x36
  • BARCODE_DM_16x48
  • BARCODE_DM_WRITE_RECTANGLE

QR Barcodes:

  • BARCODE_QR_DEF
  • BARCODE_QR_M2_1 - BARCODE_QR_M2_40
  • BARCODE_QR_M1_1 - BARCODE_QR_M1_14
  • BARCODE_QR_M1_DEF