ByteScout Barcode Reader SDK - VB.NET - Barcode Reading Profiles - ByteScout

ByteScout Barcode Reader SDK – VB.NET – Barcode Reading Profiles

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Reader SDK – VB.NET – Barcode Reading Profiles

barcode reading profiles in VB.NET with ByteScout BarCode Reader SDK

Write code in VB.NET to make barcode reading profiles with this How-To tutorial

The coding tutorials are designed to help you test the features without need to write your own code. ByteScout BarCode Reader SDK was made to help with barcode reading profiles in VB.NET. ByteScout BarCode Reader SDK is the SDK for barcode decoding. Can read all popular types from Code 128, GS1, UPC and Code 39 to QR Code, Datamatrix, PDF417. Images, pdf, TIF images and live web camera are supported as input. Designed to handle documents with noise and defects. Includes optional splitter and merger for pdf and tiff based on barcodes. Batch mode is optimized for high performance with multiple threads. Decoded values can be exported to XML, JSON, CSV or into custom data format.

This rich sample source code in VB.NET for ByteScout BarCode Reader SDK includes the number of functions and options you should do calling the API to implement barcode reading profiles. VB.NET sample code is all you need: copy and paste the code to your VB.NET application’s code editor, add a reference to ByteScout BarCode Reader SDK (if you haven’t added yet) and you are ready to go! Further enhancement of the code will make it more vigorous.

ByteScout BarCode Reader SDK is available as 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 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