Leadtools.Barcode Getting Started

.NET
.NET Framework
Java/Android
iOS and macOS

.NET

Redistributables Paths

Path Target Platform
<installdir>\Bin\net .NET 6+

Dependencies

Library Description Dependencies
Leadtools.Barcode.dll Core Library Leadtools.dll
Leadtools.Forms.Common.dll
Leadtools.ImageProcessing.Core.dll
NuGet PackageDescription
Leadtools.Barcode Barcode Library to Detect, Read, and Write 1D and 2D Barcodes
Leadtools.Document.Sdk Document Imaging Library
Leadtools.Document.Viewer.WinForms Document Imaging Library for WinForms
Leadtools.Document.Viewer.Wpf Document Imaging Library for WPF

Sample Programs

Demo Name Source Code Path Description
Barcode \Examples\Barcode\DotNet\BarcodeCLIDemo\net

Demonstrates Barcode reading and writing functionality.

Demo Name Source Code Path Pre-Compiled Executable Path Description
AAMVA Write \Examples\Barcode\DotNet\AAMVAWriteDemo\net \Bin\net\AAMVAWriteDemo_Original.exe

Demonstrates writing information to an AAMVA barcode.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Barcode Main \Examples\Barcode\DotNet\BarcodeMainDemo\net \Bin\net\BarcodeMainDemo_Original.exe

Demonstrates reading and writing all supported barcodes in LEADTOOLS.

Images can be loaded and saved in 150+ supported image formats as well as scanned from any connected TWAIN device.

Supported Barcode Formats

Barcode Format Redistributables
1D Linear Barcode Types (Read and Write) Leadtools.Barcode.OneD.dll
 • UPC / EAN
   • UPC A
   • UPC E
   • EAN 8
   • EAN 13
   • EAN EXT 2 (2-digit supplemental)
   • EAN EXT 5 (5-digit supplemental)
   • JAN Codes
   • Bookland Codes
 • 2 of 5
   • Interleaved 2 of 5
   • Airline Interleaved 2 of 5
   • Standard (Industrial) 2 of 5
 • GS1 DataBar (formerly RSS-14)
   • GS1 DataBar Limited
   • GS1 DataBar Stacked
   • GS1 DataBar Stacked Omnidirectional
   • GS1 DataBar Expanded
   • GS1 DataBar Expanded Stacked
   • GS1 DataBar Omnidirectional
   • GS1 DataBar Truncated
 • Code 128
   • GS1-128
   • UCC/EAN 128
   • UCC-128
   • EAN-128
   • Code 128
   • EAN-14
   • DUN-14
   • GTIN-14
   • SISAC
 • USPS & 4-State
   • Australian Post - 4 State
   • USPS 4-State OneCode (USPS4CB)
   • PLANET
   • POSTNET
   • Royal Mail (RM4SCC)
 • MSI (Modified Plessey)
 • Codabar
 • Ames Code
 • USD-4
 • Code 2 of 7
 • Code 3 of 9
 • Patch Code
 • Code 93
 • Code 32
 • Code 11 (USD-8)
Data Matrix (Read) Leadtools.Barcode.DatamatrixRead.dll
Data Matrix (Write) Leadtools.Barcode.DatamatrixWrite.dll
PDF417 and MicroPDF417 (Read) Leadtools.Barcode.PdfRead.dll
PDF417 and MicroPDF417 (Write) Leadtools.Barcode.PdfWrite.dll
QR (Read) Leadtools.Barcode.QrRead.dll
QR (Write) Leadtools.Barcode.QrWrite.dll
Aztec, Maxi and MicroQR (Read) Leadtools.Barcode.Lead2DRead.dll
Aztec, Maxi and MicroQR (Write) Leadtools.Barcode.Lead2DWrite.dll

.NET Framework

Redistributables Paths

Path Target Platform
<installdir>\Bin\DotNet4\Win32 x86 .NET 4 or 4.5
<installdir>\Bin\DotNet4\x64 x64 .NET 4 or 4.5

Dependencies

Library Description Dependencies
Leadtools.Barcode.dll Core Library Leadtools.dll
Leadtools.Forms.Common.dll
Leadtools.ImageProcessing.Core.dll
NuGet PackageDescription
Leadtools.Barcode Barcode Library to Detect, Read, and Write 1D and 2D Barcodes
Leadtools.Document.Sdk Document Imaging Library
Leadtools.Document.Viewer.WinForms Document Imaging Library for WinForms
Leadtools.Document.Viewer.Wpf Document Imaging Library for WPF

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
AAMVA Write \Examples\Barcode\DotNet\AAMVAWriteDemo\fx \Bin\DotNet4\<Win32/x64>\AAMVAWriteDemo_Original.exe

Demonstrates writing information to an AAMVA barcode.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Barcode Main \Examples\Barcode\DotNet\BarcodeMainDemo\fx \Bin\DotNet4\<Win32/x64>\BarcodeMainDemo_Original.exe

Demonstrates reading and writing all supported barcodes in LEADTOOLS.

Images can be loaded and saved in 150+ supported image formats as well as scanned from any connected TWAIN device.

Supported Barcode Formats

Barcode Format Redistributables
1D Linear Barcode Types (Read and Write) Leadtools.Barcode.OneD.dll
 • UPC / EAN
   • UPC A
   • UPC E
   • EAN 8
   • EAN 13
   • EAN EXT 2 (2-digit supplemental)
   • EAN EXT 5 (5-digit supplemental)
   • JAN Codes
   • Bookland Codes
 • 2 of 5
   • Interleaved 2 of 5
   • Airline Interleaved 2 of 5
   • Standard (Industrial) 2 of 5
 • GS1 DataBar (formerly RSS-14)
   • GS1 DataBar Limited
   • GS1 DataBar Stacked
   • GS1 DataBar Stacked Omnidirectional
   • GS1 DataBar Expanded
   • GS1 DataBar Expanded Stacked
   • GS1 DataBar Omnidirectional
   • GS1 DataBar Truncated
 • Code 128
   • GS1-128
   • UCC/EAN 128
   • UCC-128
   • EAN-128
   • Code 128
   • EAN-14
   • DUN-14
   • GTIN-14
   • SISAC
 • USPS & 4-State
   • Australian Post - 4 State
   • USPS 4-State OneCode (USPS4CB)
   • PLANET
   • POSTNET
   • Royal Mail (RM4SCC)
 • MSI (Modified Plessey)
 • Codabar
 • Ames Code
 • USD-4
 • Code 2 of 7
 • Code 3 of 9
 • Patch Code
 • Code 93
 • Code 32
 • Code 11 (USD-8)
Data Matrix (Read) Leadtools.Barcode.DatamatrixRead.dll
Data Matrix (Write) Leadtools.Barcode.DatamatrixWrite.dll
PDF417 and MicroPDF417 (Read) Leadtools.Barcode.PdfRead.dll
PDF417 and MicroPDF417 (Write) Leadtools.Barcode.PdfWrite.dll
QR (Read) Leadtools.Barcode.QrRead.dll
QR (Write) Leadtools.Barcode.QrWrite.dll
Aztec, Maxi and MicroQR (Read) Leadtools.Barcode.Lead2DRead.dll
Aztec, Maxi and MicroQR (Write) Leadtools.Barcode.Lead2DWrite.dll

Java/Android

Redistributables Paths

Path Target Platform
<installdir>\Bin\Android\x86_64 (Android) x86_64 Android
<installdir>\Bin\Android\x86 (Android) x86 Android
<installdir>\Bin\Android\arm64-v8a (Android) arm64-v8a Android
<installdir>\Bin\Android\armeabi-v7a (Android) armeabi-v7a Android
<installdir>\Bin\CDLL\Win32 (Windows) x86 Windows
<installdir>\Bin\CDLL\x64 (Windows) x64 Windows
<installdir>\Bin\Lib\x86 (Linux) x86 Linux
<installdir>\Bin\Lib\x64 (Linux) x64 Linux

Dependencies

Library Description Jars Native Libraries
leadtools.barcode.jar Core library leadtools.imageprocessing.core.jar Android:
leadtools.imageprocessing.color.jar libleadtools.barcode.so
leadtools.imageprocessing.effects.jar libleadtools.imageprocessing.core.so
leadtools.jar libleadtools.imageprocessing.utilities.so
libleadtools.so
iOS/macOS:
Leadtools.Barcode.framework
Leadtools.framework
Leadtools.ImageProcessing.Core.framework
Leadtools.ImageProcessing.Utilities.framework
Linux:
libltbar.so
libltimgcor.so
libltimgutl.so
libltkrn.so
Windows:
Ltbaru.dll (Win32) / Ltbarx.dll (x64)
Ltimgcoru.dll (Win32) / Ltimgcorx.dll (x64)
Ltimgutlu.dll (Win32) / Ltimgutlx.dll (x64)
Ltkrnu.dll (Win32) / Ltkrnx.dll (x64)

Sample Programs

Demo Name Source Code Path Description
Barcode (Android) \Examples\Barcode\Android\BarcodeDemo

Demonstrates Barcode reading functionality.

Performs live capture via the rear camera for a wide array of symbologies.

Demo Name Source Code Path Description
Barcode (Java) \Examples\Barcode\Java\BarcodeDemo
  • Demonstrates Barcode reading and writing functionality.
  • Read barcode data from an image.
  • Write barcode data into an image.

Supported Barcode Formats

Barcode Format Redistributables
1D Linear Barcode Types (Read and Write) libleadtools.barcode.oned.so (Android, Linux)
 • UPC / EAN Ltbar4u.dll (Win32) / Ltbar4x.dll (x64)
   • UPC A
   • UPC E
   • EAN 8
   • EAN 13
   • EAN EXT 2 (2-digit supplemental)
   • EAN EXT 5 (5-digit supplemental)
   • JAN Codes
   • Bookland Codes
 • 2 of 5
   • Interleaved 2 of 5
   • Airline Interleaved 2 of 5
   • Standard (Industrial) 2 of 5
 • GS1 DataBar (formerly RSS-14)
   • GS1 DataBar Limited
   • GS1 DataBar Stacked
   • GS1 DataBar Stacked Omnidirectional
   • GS1 DataBar Expanded
   • GS1 DataBar Expanded Stacked
   • GS1 DataBar Omnidirectional
   • GS1 DataBar Truncated
 • Code 128
   • GS1-128
   • UCC/EAN 128
   • UCC-128
   • EAN-128
   • Code 128
   • EAN-14
   • DUN-14
   • GTIN-14
   • SISAC
 • USPS & 4-State
   • Australian Post - 4 State
   • USPS 4-State OneCode (USPS4CB)
   • PLANET
   • POSTNET
   • Royal Mail (RM4SCC)
 • MSI (Modified Plessey)
 • Codabar
 • Ames Code
 • USD-4
 • Code 2 of 7
 • Code 3 of 9
 • Patch Code
 • Code 93
 • Code 32
 • Code 11 (USD-8)
Data Matrix (Read) libleadtools.barcode.datamatrixread.so (Android, Linux)
Ltbar7ru.dll (Win32) / Ltbar7rx.dll (x64)
Data Matrix (Write) libleadtools.barcode.datamatrixwrite.so (Android, Linux)
Ltbar7wu.dll (Win32) / Ltbar7wx.dll (x64)
PDF417 and MicroPDF417 (Read) libleadtools.barcode.pdfread.so (Android, Linux)
Ltbar6ru.dll (Win32) / Ltbar6rx.dll (x64)
PDF417 and MicroPDF417 (Write) libleadtools.barcode.pdfwrite.so (Android, Linux)
Ltbar6wu.dll (Win32) / Ltbar6wx.dll (x64)
QR (Read) libleadtools.barcode.qrread.so (Android, Linux)
Ltbar8ru.dll (Win32) / Ltbar8rx.dll (x64)
QR (Write) libleadtools.barcode.qrwrite.so (Android, Linux)
Ltbar8wu.dll (Win32) / Ltbar8wx.dll (x64)
Aztec, Maxi and MicroQR (Read) libleadtools.Barcode.Lead2DRead.so (Android, Linux)
Lt2dreadu.dll (Win32) / Lt2dreadx.dll (x64)
Aztec, Maxi and MicroQR (Write) libleadtools.Barcode.Lead2DWrite.so (Android, Linux)
Lt2dwriteu.dll (Win32) / Lt2dwritex.dll (x64)

iOS and macOS

Redistributables Paths

Path Target Platform
<installdir>\Bin\Xcode\XCFrameworks\iOS iOS
<installdir>\Bin\Xcode\Frameworks\macOS macOS

Dependencies

Library Description Dependencies
Leadtools.Barcode.framework Core library Leadtools.framework
Leadtools.ImagingProcessing.framework
Leadtools.ImageProcessing.Utilities.framework

Sample Programs

Demo Name Source Code Path Description
Barcode \Examples\Barcode\Xcode\<iOS/macOS>\<Objective-C/Swift>\BarcodeDemo

Demonstrates reading and writing all supported barcodes in LEADTOOLS.

Supported Barcode Formats

Barcode Format Redistributables
1D Linear Barcode Types (Read and Write) Leadtools.Barcode.OneD.framework
 • UPC / EAN
   • UPC A
   • UPC E
   • EAN 8
   • EAN 13
   • EAN EXT 2 (2-digit supplemental)
   • EAN EXT 5 (5-digit supplemental)
   • JAN Codes
   • Bookland Codes
 • 2 of 5
   • Interleaved 2 of 5
   • Airline Interleaved 2 of 5
   • Standard (Industrial) 2 of 5
 • GS1 DataBar (formerly RSS-14)
   • GS1 DataBar Limited
   • GS1 DataBar Stacked
   • GS1 DataBar Stacked Omnidirectional
   • GS1 DataBar Expanded
   • GS1 DataBar Expanded Stacked
   • GS1 DataBar Omnidirectional
   • GS1 DataBar Truncated
 • Code 128
   • GS1-128
   • UCC/EAN 128
   • UCC-128
   • EAN-128
   • Code 128
   • EAN-14
   • DUN-14
   • GTIN-14
   • SISAC
 • USPS & 4-State
   • Australian Post - 4 State
   • USPS 4-State OneCode (USPS4CB)
   • PLANET
   • POSTNET
   • Royal Mail (RM4SCC)
 • MSI (Modified Plessey)
 • Codabar
 • Ames Code
 • USD-4
 • Code 2 of 7
 • Code 3 of 9
 • Patch Code
 • Code 93
 • Code 32
 • Code 11 (USD-8)
Data Matrix (Read) Leadtools.Barcode.DatamatrixRead.framework
Data Matrix (Write) Leadtools.Barcode.DatamatrixWrite.framework
PDF417 and MicroPDF417 (Read) Leadtools.Barcode.PdfRead.framework
PDF417 and MicroPDF417 (Write) Leadtools.Barcode.PdfWrite.framework
QR (Read) Leadtools.Barcode.QrRead.framework
QR (Write) Leadtools.Barcode.QrWrite.framework
Aztec, Maxi and MicroQR (Read) Leadtools.Barcode.Lead2DRead.framework
Aztec, Maxi and MicroQR (Write) Leadtools.Barcode.Lead2DWrite.framework

For more information on which platforms include barcode support, see Supported Environments and Cross-Platform SDK Technology.

For information about barcode demos for different platforms, a searchable list is available at LEADTOOLS Installed SDK Demos.

See Also

Cloud Services

Does your application require document recognition or conversion, but its implementation language is preventing you from using LEADTOOLS directly? Consider using the LEADTOOLS Cloud Services Web API instead. It is a high-powered and scalable Web API. Its hassle-free interface can be used to integrate advanced OCR, barcode, MICR, and document conversion into any application.

Reference

Introduction

Programming with LEADTOOLS Barcode Functions

Extract Barcodes Tutorials

Unlocking Barcode Support

Unlocking Special LEAD Features

Leadtools.Barcode Assembly

Barcode Demo Overview

JavaScript HTML5 Support

Version History

Leadtools.Barcode Assembly Changes

Help Version 22.0.2023.5.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.