Online Guide

For Using BC.NetBarcodeReader.Upca in .NET
Scan and read linear/1d UPC-A barcodes from raster images Jpg, Jpeg, Png, Tiff, Bmp, and Gif.

Guide Overview

It's easy to use BC.NetBarcodeReader.Upca scanner library to scan and decode UPC-A barcodes 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.Upca.dll). And the only thing for the integration of our library is to add your project reference to it.

BC.NetBarcodeReader.Upca

We take the Console Application as an example of how to use BC.NetBarcodeReader.Upca scanner library to scan and read UPC-A bar codes from images. For ease of use, here are simple code examples for C# and VB.NET developers. To read and scan all 1d and 2d barcode types, you should use BC.NetBarcodeReader.All library.


1. Scan and decode UPC-A symbologies from an image using BC.NetBarcodeReader.Upca scanner 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("Upca.png", NetBarcodeReader.Upca);            

            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("Upca.png", NetBarcodeReader.Upca)

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

        Console.ReadKey()
    End Sub

End Module




Guide for Each Barcode Symbology