Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET Barcode Reader Library > Barcode Recognition Using VB.NET > How to Read & Decode Interleaved 2 of 5 Barcode in VB.NET Project
Download Barcode Reader for .NET Trial

Interleaved 2 of 5 Linear Barcode Scanner for VB.NET Application

VB.NET Interleaved 2 of 5 Linear Barcode Reader / Decoder / Scanner
  • VB.NET interleaved 2 of 5 barcode reader with quickest barcode scanning speed
  • Accurately read & scan interleaved 2 of 5 barcode in .NET projects using VB Code
  • Read & recognize interleaved 2 of 5 barcode from common image files using VB.NET
  • Decode interleaved 2 of 5 barcode from scanning partial source image using VB.NET
  • Support reading other popular linear barcodes in VB.NET project, like Code 128, Code 39
  • Support scanning common 2d barcodes using VB.NET class code, like QR Code, PDF-417
Guide to Integrate VB.NET Interleaved 2 of 5 Barcode Decoding Library
You can finish the installation by adding BarcodeLib.BarcodeReader.dll as one reference of your VB.NET project.
Guide to Recognize Interleaved 2 of 5 Barcode Using VB.NET Class Code
After the installation of BarcodeLib.BarcodeReader.dll, you can read & decode all the interleaved 2 of 5 linear barcode from your source image file.
     Dim datas() As String = BarcodeReader.read("c:/interleaved25-vbnet.gif", BarcodeReader.INTERLEAVED25)
Activate Unique Reading Functions of VB.NET Interleaved 2 of 5 Decoder
Apart from the common interleaved 2 of 5 barcode reading feature, our VB.NET barcode decoding dll also has some more powerful barcode reading functions.
Function 1: Read Maximum Interleaved 2 of 5 Barcode in a Short Time
In general, our VB.NET barcode reading control will use total five algorithms to read interleaved 2 of 5 barcode images and each algorithm will scan the interleaved 2 of 5 barcode from 4 directions.
But if you use same way to scan a large-size interleaved 2 of 5 barcode per page, it will cost too much time. To solve this problem, we design a property called maxOneBarcodePerPage. If you set it to true, the barcode reader will stop reading interleaved 2 of 5 barcode once it detect one interleaved 2 of 5 barcode.
Function 2: Read Interleaved 2 of 5 Barcode by Scanning Partial Source Image File
In some cases, the interleaved 2 of 5 barcode is only a part of the target image file. Thus, there is no need for the barcode reader to scan the whole source image file. And by using our VB.NET barcode reading control, you can easily specify the scanning area.
This VB.NET barcode reading control has set the most left top point as (0%, 0%) and the most right bottom point as (100%, 100%). Therefore, if you want to scan interleaved 2 of 5 barcode in the top 20% and bottom 20% area of the source image, you can use following VB.NET sample code.
     Dim setting As OptimizeSetting = New OptimizeSetting()

setting.setMaxOneBarcodePerPage(True)

Dim top20 As ScanArea = New ScanArea(New Drawing.PointF(0.0F, 0.0F), New Drawing.PointF(100.0F, 20.0F))

Dim bottom20 As ScanArea = New ScanArea(New Drawing.PointF(0.0F, 80.0F), New Drawing.PointF(100.0F, 100.0F))

Dim areas As List(Of ScanArea) = New List(Of ScanArea)
areas.Add(top20)
areas.Add(bottom20)

setting.setAreas(areas)

Dim datas() As String =
BarcodeReader.read("c:/interleaved25-vbnet.gif", BarcodeReader.INTERLEAVED25, setting)
1D & 2D Barcodes Readable for VB.NET Barcode Reader DLL
Decode VB 1D Barcodes:
Decode VB 2D Barcodes: