Guide for VB.NET
Core Document Formats
Additional Features
UPC-E

VB.NET Imaging - UPC-E Barcode Recognition

UPC-E Barcode Recognition from Image and Document Through VB.NET Class

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

VB.NET UPC-E Barcode Reading SDK Introduction
This VB.NET UPC-E Barcode Reading Control is exclusively designed for VB.NET developers to read UPC-E linear barcode from both images and documents. It also reads the checksum digit of an UPC-E barcode automatically in VB.NET. UPC-E barcode reading from images and documents will be finished very quickly through VB.NET programming. Unlike other complicated barcode readers, this Control is easy to use with a user-friendly interface and the online tutorial will tell you how to decode your UPC-E barcode from image files, PDF and Word documents using VB code.
Related .net document control helps:
asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
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...
asp.net edit pdf image: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net image viewer zoom: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
sharepoint document viewer: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
asp.net mvc text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
As a mature and professional barcode reading component, this Barcode Reading Library for VB.NET not only supports UPC-E barcode recognition from image and document, but also supports other linear and 2D barcode symbologies, such as Code 39, PLANET, UPC-A, PDF-417, QR Code and more. No matter these 1D and 2D barcodes are on such documents as PDF and Word or in image files like TIFF, PNG, BMP, JPEG and GIF, our VB.NET Barcode Reader will detect and recognize them completely without any information loss.
VB.NET UPC-E Barcode Reader Requirements
There are some basic requirements for using our VB.NET Barcode Reading SDK to decode UPC-E barcode from images and documents with VB.NET project. Please make sure that you have installed the following items before implementing your application.
  • Any Visual Studio version from 2005 to 2012
  • .NET Framework 2.0, 3.0, 3.5, 4.0 or 4.5
  • Windows 2000 / XP / Vista / 7 or Windows Server 2000 / 2003 / 2008
VB.NET UPC-E Barcode Reading from Image
First of all, we will illustrate how to read UPC-E barcode from images in VB.NET with this Barcode Reading Control for VB.NET. In this section, TIFF image is used as the sample image for UPC-E barcode reading. All you need to do is creating a VB.NET project in your Visual Studio and copy the following demo code to recognize UPC-E barcode from the TIFF sample image.
     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.UPCE)

For Each data As String In datas
Debug.WriteLine(data)
Next
End Sub
VB.NET UPC-E Barcode Reading from PDF
To read UPC-E linear barcode from PDF document in VB.NET, developers may need to convert the PDF document to RasterEdge imaging formats by using our VB.NET PDF Conversion Control at first because this Barcode Reading SDK for VB.NET does not support directly recognizing UPC-E barcode from PDF document. Then, you can use the following VB sample code to decode UPC-E barcode on your PDF document.
     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.UPCE)
For Each data As String In datas
Debug.WriteLine(data)
Next
End Sub
VB.NET UPC-E Barcode Reading from Word
There are two steps for recognizing UPC-E barcode from Word document using VB.NET class. The first step is to convert the Word document to such image formats as TIFF, PNG and BMP with our Word Document Converter for VB.NET. The second step is to read UPC-E barcode from converted REImage in your VB.NET project. Please see complete demo code below.
     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.UPCE)

For Each data As String In datas
Debug.WriteLine(data)
Next
End Sub
VB.NET UPC-E Linear Barcode Description
A zero-suppressed version of UPC (Universal Product Code) is developed to make UPC barcodes available on smaller packages where a full 12-digit barcode may not be suitable to and this UPC barcode version is called UPC-E. It can be printed in a very small space and is used for labeling small items. UPC-E barcode in VB.NET project is different from UPC-A barcode in three aspects: use of a 6-digit code, deletion of middle guard and change on end bit pattern. However, checksum digit calculation of UPC-E is in the same way as that used by UPC-A barcode (based on the Module 10 standards). The calculated checksum digit will not be added to the UPC-E barcode, but it is encoded by manipulating the parity of the six digits of the UPC-E barcode. Our VB.NET Barcode Reading Control supports reading UPC-E barcode check digit if present.


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