Guide for VB.NET
Core Document Formats
Additional Features
Patch Code

VB.NET Imaging - Patch Code Scanning Guide

VB.NET Patch Code Reader SDK to Decode Barcode from Image & Doc

VB.NET
Home > .NET Imaging SDK > VB.NET > Scan Patch Code on Doc Image
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

VB.NET Patch Code Barcode Recognition Overview
How to scan & decode Patch Code barcode using VB.NET code programmatically? Patch Code, which has 6 barcode types, is mainly used as document separator. Thus, this VB.NET Patch Code barcode reader control is widely used in document processing applications. As this VB.NET Patch Code barcode scanner SDK is a standalone .NET component, VB.NET developers can easily detect & decode Patch Code barcode from source image or document file without having any dependency on other third-party software.
Related .net document control helps:
asp.net pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net annotate pdf: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
asp.net excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net dicom document viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net edit pdf image: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
With the purpose to help you have a quick and deep understanding of this VB.NET Patch Code barcode reader & decoder SDK, we offer this online tutorial page which consists of following sections.
  • VB.NET Patch Code barcode reader control toolkit benefits
  • Unique Patch Code barcode detecting and decoding functions
  • How to scan and read Patch Code barcode from source image file using VB.NET sample code
  • How to detect & recognize Patch Code barcode image from PDF document using VB.NET demo code
  • How to capture and decode Patch Code barcode information from Word file by sample VB.NET code
This VB.NET Patch Code barcode scanner control SDK, as a component of .NET Image SDK, can work with other RasterEdge VB.NET components to process, edit and view source document file. For example, if you combine this VB.NET Patch Code barcode reader control with .NET document image annotator library, you can add rich annotations to target file while scanning Patch Code barcode.
VB.NET Patch Code Barcode Scanner Features
  • 100% clean .NET solution to scan and decode Patch Code barcode using VB.NET programming code
  • Professional and high-rated VB.NET Patch Code barcode scanner that is programmed in fully managed C# code
  • Allow VB.NET developers to decode and read one or more Patch Code barcodes at a time by VB.NET code
  • Offer easy to use API that returns decoded Patch Code barcode information to data string in VB.NET class application
  • Support VB.NET Patch Code barcode reading and scanning from png, jpeg, gif, bmp and tiff files
  • Support VB.NET Patch Code barcode detection and decoding from multi-page PDF or Word document file
VB.NET Patch Code Barcode Detection Technologies
In this section, we will list two unique Patch Code barcode capturing and recognition functions that this VB.NET barcode reader has endowed. One is to detect Patch Code barcode only in a defined document or image area. The other is to stop Patch Code barcode detection once decoded barcode number reaches the maximum value (which you can set by yourself).
VB.NET Patch Code Barcode Scanning from Image
Although the following VB.NET demo code is used to scan and decode Patch Code barcode from TIFF file, you can also use it to detect & recognize Patch Code barcode from other commonly used raster image files, like png, bmp, gif and jpeg.
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.PatchCode)

For Each data As String In datas
Debug.WriteLine(data)
Next
End Sub
Scan Patch Code Barcode from PDF Using VB.NET
The following VB.NET sample code is used to decode all Patch Code barcodes from source PDF page. In order to make this VB.NET demo code work perfectly in your VB.NET class application, you have to install following dlls, namely, RasterEdge.Imaging.Barcode.Scanner.dll, RasterEdge.Imaging.Basic.dll and RasterEdge.Imaging.PDF.dll.
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.PatchCode)

For Each data As String In datas
Debug.WriteLine(data)
Next
End Sub
Read Patch Code Barcode from Word in VB.NET
In this section, we provide a VB.NET sample code which will help you detect all Patch Code barcodes from source Word document page and output recognized Patch Code barcode values to orderly data strings. What should be noted here is that, as this VB.NET Patch Code barcode scanning API only allows developer to scan Patch Code barcode within one Word page. But you can select one Word page freely from source multi-page Word document using Word document processor control for VB.NET.
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.PatchCode)

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