ByteScout Premium Suite - VB.NET - Barcode reading profiles with barcode reader sdk - ByteScout

ByteScout Premium Suite – VB.NET – Barcode reading profiles with barcode reader sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – VB.NET – Barcode reading profiles with barcode reader sdk

barcode reading profiles with barcode reader sdk in VB.NET and ByteScout Premium Suite

barcode reading profiles with barcode reader sdk in VB.NET

These sample source codes given below will show you how to handle a complex task, for example, barcode reading profiles with barcode reader sdk in VB.NET. Barcode reading profiles with barcode reader sdk in VB.NET can be applied with ByteScout Premium Suite. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.

If you want to quickly learn then these fast application programming interfaces of ByteScout Premium Suite for VB.NET plus the guideline and the VB.NET code below will help you quickly learn barcode reading profiles with barcode reader sdk. 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 implement barcode reading profiles with barcode reader sdk using ByteScout Premium Suite.

ByteScout Premium Suite is available as a free trial. You may get it from our website along with all other source code samples for VB.NET applications.

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 ' This example demonstrates the use of profiles. Profiles are set of properties ' allowing to apply them to Reader in any combination quickly. You can use ' predefined profiles or create you own in JSON format like in this example. Class Program Friend Shared Sub Main(args As String()) ' Create Bytescout.BarCodeReader.Reader instance Using reader As Reader = New Reader() reader.RegistrationName = "demo" reader.RegistrationKey = "demo" ' Apply predefined profiles: ' enable Code39; ' enable EAN-13; ' render PDF at 150 DPI resoultion. reader.Profiles = "code39, ean13, pdf150dpi" ' ----------------------------------------------------------------------- ' NOTE: We can read barcodes from specific page to increase performance . ' For sample please refer to "Decoding barcodes from PDF by pages" program. ' ----------------------------------------------------------------------- ' Decode and show barcodes from sample1.pdf reader.ReadFrom("sample1.pdf") For Each foundBarcode As FoundBarcode In reader.FoundBarcodes Console.WriteLine("Found ""{0}"" barcode with value ""{1}""", foundBarcode.Type, foundBarcode.Value) Next End Using Using reader As Reader = New Reader() reader.RegistrationName = "demo" reader.RegistrationKey = "demo" ' Load and apply custom profiles reader.LoadProfiles("profiles.json") reader.Profiles = "negative-distorted-datamatrix" ' Decode and show barcodes from sample2.png reader.ReadFrom("sample2.png") For Each foundBarcode As FoundBarcode In reader.FoundBarcodes Console.WriteLine("Found ""{0}"" barcode with value ""{1}""", foundBarcode.Type, foundBarcode.Value) Next End Using Console.WriteLine("Press any key to exit...") Console.ReadKey() End Sub End Class

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

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

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next