C# Barcode Reader & Scanner SDK Tutorial

How to scan, read linear, 2d barcode images in C#.NET application

Reading & Scanning Linear, 2D Barcode Images in Visual C# .NET using C#.NET Barcode Reader





In this C# tutorial, you will learn how to scan an image and read barcode data from it in your C# ASP.NET web app and Windows application.

  • Scan the whole image or partial of the image area
  • Support multiple image formats, such as bitmap, jpg, png, gif, TIFF
  • Support more than 20 barcode types
  • Read barcode data with located area information

How to scan, read barcodes from image using C#

  1. Download .NET Barcode Reader Library
  2. Install C# library to read barcode from images in .NET apps
  3. Step by Step Tutorial








OnBarcode .NET Barcode Reader is a C#.NET component (dll) which reads and scans barcode images in Visual C# .NET applications.
.NET Barcode Reader is 100% built on C# 2005, for reading & scanning Code 39, Code 128, GS1-128/EAN-128, Interleaved 2 of 5, UPC-A, UPC-E, EAN-8, EAN-13, and PDF-417 barcodes.

C# Barcode Generators

C#.NET Barcode Reader Quick Start
Top

1. How to install .NET Barcode Reader component to your Visual C# .NET project?

Add OnBarcode.Barcode.BarcodeScanner.dll to C# project reference

2. How to scan & read linear barcodes in C# class?

   string[] barcodes = BarcodeScanner.Scan("code128-image.gif", BarcodeType.Code128); 

3. To improve the reading speed, call ScanSingleBarcode, if there is maximum one barcode per image.

   string[] barcodes = BarcodeScanner.ScanSingleBarcode("code39-image.gif", BarcodeType.Code39); 

4. To scan defined areas in the image in C#

   List<SRegion> areas = new List<SRegion>();
SRegion area = new SRegion(0, 0, 50, 60);
areas.Add(area);

string[] barcodes = BarcodeScanner.ScanRegions("code39image.gif", BarcodeType.Code39, areas);

5. To scan and get more information about the barcode in C#

   BarcodeDetail[] barcodeDetails = BarcodeScanner.ScanInDetails("code39image.gif", BarcodeType.Code39);
C# Barcode Reading & Scanning Tutorials
Top

Barcode Reader SDK for C#.NET - Barcode Image Reading

OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.