Online Guide

For Using BC.NetBarcodeReader.Ean13 in .NET
Scan, read, and recognize EAN-13 barcodes from raster images Jpg, Jpeg, Png, Tiff, Bmp, and Gif.

Guide Overview

It's easy to use BC.NetBarcodeReader.Ean13 decoder library to read and recognize EAN-13 barcode symbologies from images in your .NET applications. Here we will show you in simple steps. Please firstly download and get the free trial library (BC.NetBarcodeReaderTrial.Ean13.dll). And the only thing for the integration of our library is to add your project reference to it.

BC.NetBarcodeReader.Ean13

We take the Console Application as an example of how to use BC.NetBarcodeReader.Ean13 decoder library to read and recognize EAN-13 barcodes from images. For ease of use, here are simple code examples for C# and VB.NET developers. To recognize all linear and 2d barcode symbologies, you should use the library, BC.NetBarcodeReader.All.


1. Decode and recognize EAN-13 barcodes from an image using BC.NetBarcodeReader.Ean13 decoder library.

How to in C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BC.NetBarcodeReaderTrial.All;

namespace BC.NetBarcodeReaderDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            ReadOneBarcodeTypefromImage();
        }

        public static void ReadOneBarcodeTypefromImage()
        {
            string[] data = NetBarcodeReader.Recognize("Ean13.bmp", NetBarcodeReader.Ean13);            

            foreach (string result in data)
            {
                Console.WriteLine(result);
            }
            Console.ReadKey();
        }
    }
}

How to in VB.NET

Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports BC.NetBarcodeReaderTrial.All

Module BCNetBarcodeReaderDemo  

    Sub Main()
        ReadOneBarcodeTypefromImage()
    End Sub

    Public Sub ReadOneBarcodeTypefromImage()
        Dim data As String() = NetBarcodeReader.Recognize("Ean13.bmp", NetBarcodeReader.Ean13)

        For Each result As String In data
            Console.WriteLine(result)
        Next

        Console.ReadKey()
    End Sub

End Module




Guide for Each Barcode Symbology