Online Guide

For Using BC.NetBarcodeReader.Ean8 in .NET
Scan, read, and decode EAN-8 barcode symbologies from raster images Jpg, Jpeg, Png, Tiff, Bmp, and Gif.

Guide Overview

It's easy to use BC.NetBarcodeReader.Ean8 decoder library to scan and decode EAN-8 bar code 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.Ean8.dll). And the only thing for the integration of our library is to add your project reference to it.

BC.NetBarcodeReader.Ean8

We take the Console Application as an example of how to use BC.NetBarcodeReader.Ean8 decoder library to decode and recognize EAN-8 bar codes from images. For ease of use, here are simple code examples for C# and VB.NET developers. To decode all linear and 2d barcode types, you should use our .NET library, BC.NetBarcodeReader.All.


1. Read and decode EAN-8 barcode types from an image using BC.NetBarcodeReader.Ean8 decoder library.

How to in C#

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

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

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

            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.Ean8

Module BCNetBarcodeReaderDemo  

    Sub Main()
        ReadOneBarcodeTypefromImage()
    End Sub

    Public Sub ReadOneBarcodeTypefromImage()
        Dim data As String() = NetBarcodeReader.Recognize("Ean8.tif", NetBarcodeReader.Ean8)

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

        Console.ReadKey()
    End Sub

End Module




Guide for Barcode Symbologies