For Using BC.NetBarcodeReader.Interleaved25 in .NET
Scan, read, and recognize barcode Interleaved 2 of 5 from raster images Jpg, Jpeg, Png, Tiff, Bmp, and Gif.
It's easy to use BC.NetBarcodeReader.Interleaved25 recognition library to decode and recognize Interleaved 2 of 5 symbologies from images in your .NET applications. Here we will show you in simple steps. Please firstly download and get the free trial library (BC.NetBarcodeReaderTrial.Interleaved25.dll). And the only thing for the integration of our library is to add your project reference to it.
We take the Console Application as an example of how to use BC.NetBarcodeReader.Interleaved25 recognition library to decode and recognize Interleaved 2 of 5 bar codes from images. For ease of use, here are simple code examples for C# and VB.NET developers. To recognize all linear/1d and 2d barcode symbologies, you should use our .NET library, BC.NetBarcodeReader.All.
1. Scan and recognize Interleaved 2 of 5 bar code symbologies from an image using BC.NetBarcodeReader.Interleaved25 recognition library.
using System; using System.Collections.Generic; using System.Linq; using System.Text; using BC.NetBarcodeReaderTrial.Interleaved25; namespace BC.NetBarcodeReaderDemo { class Program { static void Main(string[] args) { ReadOneBarcodeTypefromImage(); } public static void ReadOneBarcodeTypefromImage() { string[] data = NetBarcodeReader.Recognize("Interleaved25.jpeg", NetBarcodeReader.Interleaved25); foreach (string result in data) { Console.WriteLine(result); } Console.ReadKey(); } } }
Imports System Imports System.Collections.Generic Imports System.Linq Imports System.Text Imports BC.NetBarcodeReaderTrial.Interleaved25 Module BCNetBarcodeReaderDemo Sub Main() ReadOneBarcodeTypefromImage() End Sub Public Sub ReadOneBarcodeTypefromImage() Dim data As String() = NetBarcodeReader.Recognize("Interleaved25.jpeg", NetBarcodeReader.Interleaved25) For Each result As String In data Console.WriteLine(result) Next Console.ReadKey() End Sub End Module