An easy to understand sample source code to learn how to decode damaged datamatrix barcode with barcode reader sdk in C# Want to decode damaged datamatrix barcode with barcode reader sdk in your C# app? ByteScout Data Extraction Suite is designed for it. ByteScout Data Extraction Suite is the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK.
These C# code samples for C# guide developers to speed up coding of the application when using ByteScout Data Extraction Suite. Simply copy and paste in your C# project or application you and then run your app! Use of ByteScout Data Extraction Suite in C# is also described in the documentation included along with the product.
All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
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(); } } }
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
Get Your API Key
Explore Web API Docs
Explore Web API Samples
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
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: