ByteScout Premium Suite - C# - Decode damaged datamatrix barcode with barcode reader sdk - ByteScout

ByteScout Premium Suite – C# – Decode damaged datamatrix barcode with barcode reader sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – C# – Decode damaged datamatrix barcode with barcode reader sdk

How to decode damaged datamatrix barcode with barcode reader sdk in C# with ByteScout Premium Suite

Step-by-step tutorial on how to decode damaged datamatrix barcode with barcode reader sdk in C#

The code displayed below will guide you to install an C# app to decode damaged datamatrix barcode with barcode reader sdk. ByteScout Premium Suite: the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can decode damaged datamatrix barcode with barcode reader sdk in C#.

This prolific sample source code in C# for ByteScout Premium Suite contains various functions and other necessary options you should do calling the API to decode damaged datamatrix barcode with barcode reader sdk. This C# sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Enjoy writing a code with ready-to-use sample codes in C#.

ByteScout provides the free trial version of ByteScout Premium Suite along with the documentation and 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)

Program.cs
      
using System; using Bytescout.BarCodeReader; namespace DecodeDamagedDataMatrix { class Program { static void Main(string[] args) { try { // Create and activate Bytescout.BarCodeReader.Reader instance using (Reader reader = new Reader("demo", "demo")) { // Set barcode type to find reader.BarcodeTypesToFind.DataMatrix = true; /* ----------------------------------------------------------------------- NOTE: We can read barcodes from specific page to increase performance. For sample please refer to "Decoding barcodes from PDF by pages" program. ----------------------------------------------------------------------- */ // Read barcodes FoundBarcode[] barcodes = reader.ReadFrom("corrupted_barcode_datamatrix.png"); foreach (FoundBarcode code in barcodes) Console.WriteLine("Found barcode with type '{0}' and value '{1}'", code.Type, code.Value); } } catch (Exception ex) { Console.WriteLine(ex.Message); } Console.WriteLine(); Console.WriteLine("Press any key to exit..."); Console.ReadLine(); } } }

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