Guide for VB.NET
Core Document Formats
Additional Features
EAN-13

VB.NET Imaging - How to Read EAN-13 Barcode

How to Decode and Scan EAN-13 Barcode by Using VB Sample Code

VB.NET
Home > .NET Imaging SDK > VB.NET > Decode EAN-13 on Doc Image
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

Introduction on VB Image EAN-13 Barcode Reader
RasterEdge .NET Imaging SDK allows professional developers and end users to add advanced barcode recognition of image to your variable .NET applications. This page mainly talks about how to apply this Barcode Image Recognition Add-on to your VB.NET image application to read and scan linear EAN-13 barcode from image and document page (no external plugin components are required). The supported frequently used image and document forms are: raster JPEG, PNG, BMP, GIF, and TIFF, PDF and MS Word.
Related .net document control helps:
asp.net pdf viewer control: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net ppt viewer: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
asp.net mvc text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net multipage tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net pdf editor control: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net edit pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net document viewer c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
Apart from EAN-13 barcode reading, users are still capable of adopting .NET Imaging Barcode Library DLL to create and customize EAN-13 barcode in VB.NET project.
From this tutorial article, users can get following crucial information on EAN-13 barcode reading:
  • Brief introduction on EAN-13 barcode reading features and technologies in VB class
  • How to: read and scan EAN-13 barcode from different image forms by using the provided VB.NET demo code
  • How to: detect and recognize EAN-13 from a certain PDF document page in VB project by using RasterEdge .NET Imaging PDF Processing SDK to get to target PDF page in high speed
  • How to: embed RasterEdge MS Word DLL and Image Barcode Reading SDK to VB imaging program to scan and read EAN-13 from a rectangle region from Word page
VB.NET EAN-13 Barcode Reading Library Features
  • Easy to combine .NET Imaging Processing and Word & PDF document managing systems with Image Barcode Reading toolkit in VB project
  • Integrate VB EAN-13 barcode reading functionality into Windows Forms and web ASP.NET programs
  • Sample code for users to read EAN-13 barcode from original or scanned image and document in VB project
  • Ensure the EAN-13 recognition accuracy and preciseness with comprehensive RasterEdge image and document cleanup and pre-processing functions, which can be seamlessly incorporated within Visual VB program
  • Able to recognize and extract EAN-13 barcode data string from image regardless of image resolution, scale, orientation, and other influencing factors
  • Within document management library in VB platform, users can read and decode EAN-13 from MS Word and PDF document page, in addition, the powerful document page processing methods can help users locate the EAN-13 barcode image for a faster barcode reading
  • Complete report of recognized EAN-13 barcode value, including barcode basic data, related size, value of checksum digit, font style and color
How to: Read and Scan EAN-13 from Image in VB.NET
Following VB class demo code on EAN-13 barcode reading is ready for users to copy and paste. After you have downloaded & installed our free .NET Imaging SDK and created a required VB.NET imaging Windows application to your computer, you can implement following example VB code directly. And one more notice, don't forget to move your activated license text to your created VB project (If you haven't get your unique license yet, please link to see online detailed guide on how to activate RasterEdge .NET Imaging SDK).
And following sample VB code is for EAN-13 barcode recognition on TIFF image format, if your target image file is not TIFF, you just need to change the input image format on the sample code, like adjusting "SampleBarcode.tif" to "SampleBarcode.png/gif/jpeg/bmp".
Public Shared FolderName As String = "c:/"

Private Sub button1_Click(sender As Object, e As EventArgs)
Dim fileName As String = FolderName & "SampleBarcode.tif"

Dim datas As String() = BarcodeScanner.Scan(fileName, BarcodeType.EAN13)

For Each data As String In datas
Debug.WriteLine(data)
Next
End Sub
How to: Read and Scan EAN-13 on PDF Page in VB.NET
As mentioned at the begging, this VB.NET EAN-13 Barcode Reading control also enables users to read and scan EAN-13 barcode from PDF document page.
What's more, users have the abilities to read EAN-13 barcode from both single or multiple PDF page(s) at the same time within VB.NET application.
Public Shared FolderName As String = "c:/"

Private Sub button1_Click(sender As Object, e As EventArgs)
Dim fileName As String = FolderName & "Sample.pdf"

Dim reImage As REImage = DirectCast(REFile.OpenDocumentFile(fileName, New PDFDecoder()).GetPage(0).ToImage(), REImage)

Dim datas As String() = BarcodeScanner.Scan(reImage, BarcodeType.EAN13)

For Each data As String In datas
Debug.WriteLine(data)
Next
End Sub
How to: Decode EAN-13 on Certain Word Page Area in VB.NET
As you can analysis from following sample code in VB class, users can easily fix the EAN-13 barcode position with the help of barcode X & Y methods to shorten reading time from Word document.
Public Shared FolderName As String = "c:/"

Private Sub button1_Click(sender As Object, e As EventArgs)
Dim fileName As String = FolderName & "Sample.docx"

Dim reImage As REImage = DirectCast(REFile.OpenDocumentFile(fileName, New DOCXDecoder()).GetPage(0).ToImage(), REImage)

Dim datas As String() = BarcodeScanner.Scan(reImage, BarcodeType.EAN13)

For Each data As String In datas
Debug.WriteLine(data)
Next
End Sub


Recommend this to Google+


RasterEdge.com is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster Edge.com