ByteScout Barcode Reader SDK - VB.NET - Inspect Decoded Barcodes - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout Barcode Reader SDK – VB.NET – Inspect Decoded Barcodes

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Reader SDK – VB.NET – Inspect Decoded Barcodes

inspect decoded barcodes in VB.NET using ByteScout BarCode Reader SDK

Build inspect decoded barcodes in VB.NET

:

Step-by-step instructions on how to do inspect decoded barcodes in VB.NET

An easy to understand guide to learn how to inspect decoded barcodes in VB.NET. ByteScout BarCode Reader SDK was created to assist inspect decoded barcodes in VB.NET. ByteScout BarCode Reader SDK is the barcode decoder with support for code 39, code 128, QR Code, Datamatrix, GS1, PDF417 and all other popular barcodes. Can read barcodes from images, pdf, tiff documents and live web camera. Supports noisy and damaged documents, can split and merge pdf and tiff documents based on barcodes. Can export barcode decoder results to XML, JSON, CSV and into custom data structures.

If you want to quickly learn then these fast application programming interfaces of ByteScout BarCode Reader SDK for VB.NET plus the guideline and the VB.NET code below will help you quickly learn inspect decoded barcodes. Follow the steps-by-step instructions from the scratch to work and copy and paste code for VB.NET into your editor. Enjoy writing a code with ready-to-use sample VB.NET codes to add inspect decoded barcodes functions using ByteScout BarCode Reader SDK in VB.NET.

ByteScout BarCode Reader SDK free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Module1.vb
      
Imports System.Drawing Imports System.Drawing.Imaging Imports System.IO Imports Bytescout.BarCodeReader Module Module1 Dim i As Int32 = 0 Sub Main() Const imageFile As String = "Code_39.png" Console.WriteLine("Reading barcode(s) from image {0}", Path.GetFullPath(imageFile)) Dim reader As New Reader() reader.RegistrationName = "demo" reader.RegistrationKey = "demo" ' Set barcode type to find reader.BarcodeTypesToFind.Code39 = True ' Handle Barcode Reader's Inspect Decoded Barcodes event AddHandler reader.InspectDecodedBarcodes, AddressOf Reader_InspectDecodedBarcodes ' Read barcodes Dim barcodes As FoundBarcode() = reader.ReadFrom(imageFile) For Each barcode As FoundBarcode In barcodes Console.WriteLine("Found barcode with type '{0}' and value '{1}'", barcode.Type, barcode.Value) Next ' Cleanup reader.Dispose() Console.WriteLine("Press any key to exit..") Console.ReadKey() End Sub ''' <summary> ''' Inspect decoded barcode event handler ''' </summary> Private Sub Reader_InspectDecodedBarcodes(sender As Object, image As Image) Dim imageName = "page" + (++i).ToString() + ".png" image.Save(imageName, ImageFormat.Png) Console.WriteLine("Inspected barcode saved as " + imageName) ' You should explicitly dispose the image object to avoid resource leaks. image.Dispose() End Sub End Module

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout BarCode Reader SDK Home Page

Explore ByteScout BarCode Reader SDK Documentation

Explore Samples

Sign Up for ByteScout BarCode Reader SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout BarCode Reader SDK Home Page

Explore ByteScout BarCode Reader SDK Documentation

Explore Samples

Sign Up for ByteScout BarCode Reader SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next