|
|
|||||||||
Home > .NET Barcode Reader > .NET Interleaved 2 of 5 Barcode Reader for C#, VB.NET Applications .NET Interleaved 2 of 5 Barcode Reader for C#, VB.NET ApplicationsScan & Read Interleaved 2 of 5 barcodes in C#.NET, VB.NET, ASP.NET projects
.NET Barcode Reader
Quick Navigate
1. Install .NET Interleaved 2 of 5 Barcode Reader
2. Scan & Read Interleaved 2 of 5 Barcodes in C#.NET
Scan and read Interleaved 2 of 5 barcode in C# is an easy and simple task. One line of C# code finishes the job.
string[] results = BarcodeReader.read(@"c:\interleaved25-barcode.gif", BarcodeReader.INTERLEAVED25);The above C# code will get all Interleaved 2 of 5 barcodes in image file "interleaved25-barcode.gif" 3. Scan & Read Interleaved 2 of 5 Barcodes in VB.NET
Scan and read Interleaved 2 of 5 barcode in VB.NET is an easy and simple task. One line of vb.net code finishes the job.
Dim datas() As String = BarcodeReader.read(@"c:\interleaved25-barcode.gif", BarcodeReader.INTERLEAVED25)The above VB.NET code will get all Interleaved 2 of 5 barcodes in image file "interleaved25-barcode.gif" 4. Optimize Interleaved 2 of 5 Barcode Reading Performance in C#.NET & VB.NET
You can customize our .NET barcode reader component, to improve Interleaved 2 of 5 barcode reading speed, when you are scanning large image size (like 4mb per image).
The following C# code explains how to scan top 20% of the image and bottom 20% of the image. OptimizeSetting setting = new OptimizeSetting(); setting.setMaxOneBarcodePerPage(true); ScanArea top20 = new ScanArea(new PointF(0.0F, 0.0F), new PointF(100.0F, 20.0F)); ScanArea bottom20 = new ScanArea(new PointF(0.0F, 80.0F), new PointF(100.0F, 100.0F)); List The following VB.NET code explains how to scan top 20% of the image and bottom 20% of the image.
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-barcode.gif", BarcodeReader.INTERLEAVED25, setting)
.NET Barcode Reader Supporting Barcode Types/Symbologies
|
||||||||||