RasterEdge Barcode Reader supports high speed, accurate reading for over 100 different 1D and 2D barcode symbologies (types) and sub-types.
- Recognize 20+ linear and 2D barcode types
- Read encoded data sets
- Return check digit if barcode has one
- Detect barcode foreground and background color
- Detect barcodes at any orientation and rotation angle
- Read unlimited number of barcodes per page
- Find barcodes in entire image or specific region of interest
- More barcode reading functions
Barcode Scanning
Here is a detailed VB.NET sample for reading a barcode into image with RasterEdge .NET Imaging SDK and Barcode Scanner. (For C#.NET developers, please go to
Barcode Reading for C#.NET. Want to view Image and document in Winforms or Web applications, please go to
Reading Barcode in Winforms and
Web Document Image Reading.)
- Start Visual Studio .NET (2005 or later version);
- Begin a new project with programming language - VB.NET;
- Add RasterEdge.DotNetImaging.dll & RasterEdge.DotNetImaging.BarcodeScan.dll to your VB.NET applications;
- Add the appropriate Imports directive:
Imports System.IO
Imports RasterEdge.Imaging
Imports RasterEdge.Imaging.Processing
Imports RasterEdge.Imaging.BarcodeScan
Read a Barcode
Read a barcode from images or documents with the following VB.NET codes:
Dim myImage As RaterEdgeImage = New RaterEdgeImage("barcodes.tif")
Using Barcode As BarCodeReader = New BarCodeReader(myImage)
Dim options As ReadOpts = New ReadOpts()
options.Direction = Directions.LeftToRight
options.Symbology = Symbologies.code39
Dim bars As Barcode[] = Barcode.ReadBars(options)
For (i As Integer = 0; i < bars.Length; i++)
System.Console.WriteLine(bars(i).ToString())
End Using Read Check Digit
You may return check digit if the barcode has one with the following VB.NET codes:
ReadOpts opts = new ReadOpts()
opts.EnforceChecksum = false
Read Barcode Properties
Barcode properties can be easily detected with the following VB.NET codes:
Dim myImage As RaterEdgeImage = New RaterEdgeImage("barcodes.tif")
Using Barcode As BarCodeReader = New BarCodeReader(myImage)
Dim options As ReadOpts = New ReadOpts()
options.Direction = Directions.LeftToRight
options.Symbology = Symbologies.code39
Dim bars As Barcode[] = Barcode.ReadBars(options)
If bars.Length = 0 Then
'No barcodes read. Maybe the image was scanned upside down. Let's see
options.Direction = Directions.RightToLeft
bars = Barcode.ReadBars(options)
End If
End Using
More Tutorials!
Find more user guides with RasteEdge .NET Image SDK using VB.NET sample codings!
Want to install Imaging SDK in Winforms or Web applications, please go to
Use Imaging SDK in Winforms and
Web Document Image Viewer.