ByteScout Data Extraction Suite - VB.NET - Decode page by page from tiff barcode with barcode reader sdk - 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 Data Extraction Suite – VB.NET – Decode page by page from tiff barcode with barcode reader sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VB.NET – Decode page by page from tiff barcode with barcode reader sdk

How to decode page by page from tiff barcode with barcode reader sdk in VB.NET with ByteScout Data Extraction Suite

Learn to code in VB.NET to decode page by page from tiff barcode with barcode reader sdk with this step-by-step tutorial

This sample source code below will display you how to decode page by page from tiff barcode with barcode reader sdk in VB.NET. ByteScout Data Extraction Suite is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can be applied to decode page by page from tiff barcode with barcode reader sdk using VB.NET.

Want to save time? You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout Data Extraction Suite for decode page by page from tiff barcode with barcode reader sdk below and use it in your application. Simply copy and paste in your VB.NET project or application you and then run your app! If you want to use these VB.NET sample examples in one or many applications then they can be used easily.

You can download free trial version of ByteScout Data Extraction Suite from our website with this and other source code samples for VB.NET.

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

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

Program.vb
      
Imports Bytescout.BarCodeReader Class Program Friend Shared Sub Main(args As String()) Dim reader As New Reader() reader.RegistrationName = "demo" reader.RegistrationKey = "demo" ' Limit search to 1-dimensional barcodes only (exclude 2D barcodes to speed up the processing). ' Change to barcodeReader.BarcodeTypesToFind.SetAll() to scan for all supported 1D and 2D barcode types ' or select specific type, e.g. barcodeReader.BarcodeTypesToFind.PDF417 = True reader.BarcodeTypesToFind.All1D = True ' Input filename Dim fileName As String = "multipage.tif" ' Pages from which barcodes to be fetched Dim readFromPages() As Int32 = {1, 2, 4, 6} For Each pageNo As Int32 In readFromPages Console.WriteLine(Environment.NewLine + "Reading barcodes from TIFF page {0}...", pageNo) ' Decoding barcodes from TIFF on page-by-page basis instead of reading whole page Dim barcodes As FoundBarcode() = reader.ReadFrom(fileName, (pageNo - 1)) ' Found results For Each barcode As FoundBarcode In barcodes Console.WriteLine("Found Barcode, Type: '{0}', Value: '{1}', Position: {2}", barcode.Type, barcode.Value, barcode.Rect) Next Next ' Cleanup reader.Dispose() Console.WriteLine() Console.WriteLine("Press any key to continue.") Console.ReadKey() End Sub End Class

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite 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 Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next