Home

Bytescout.BarCode SDK for .NET
Screenshots

Click to view full size screenshot Click to view full size screenshot Click to view full size screenshot Click to view full size screenshot Click to view full size screenshot Click to view full size screenshot Click to view full size screenshot Click to view full size screenshot

How to create UPC-E (UPCE) barcode using Bytescout.BarCode library for .NET

Download Free Trial Buy Now More Information
Shop safely: we provide 30-DAYS MONEY-BACK GUARANTEE for the product
Special 20% off discount is available in November 2008! Licensing prices are available as low as $98.95 per developer or web-site! Click here to find more

Output barcode screenshot (UPC-E symbology)

UPCE barcode sample made by Bytescout BarCode SDK for .NET

UPC-E barcode. This symbology is zero-suppression version of UPC-A. It is intended to be used on packaging which would be otherwise too small to use one of the other versions. The code is smaller because it drops out zeros which would otherwise occur in a symbol. Used with consumer products in U.S. UPC-E symbology allows only numeric values to be encoded.

Important: you can also use BarCode Windows Forms or Web ImageControl instead. To use the Windows Formscontrol in Visual Studio please open Toolbox and open "Bytescout Software" tab and drag-n-drop "BarCode" control into your WinForms or ASP.NET application (in design mode)

Visual Basic:

Imports Bytescout.BarCode

Module Module1

Sub Main()
' Create new barcode
Dim barcode As New Barcode()

' Set symbology
barcode.Symbology = SymbologyType.UPCE
' Set value
barcode.Value = "Sample"

' Save barcode to image
barcode.SaveImage("result.png")

' Show image in default image viewer
Process.Start("result.png")
End Sub

End Module

C#:

using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;

using Bytescout.BarCode;

namespace Sample
{
class Program
{
static void Main(string[] args)
{
// Create new barcode
Barcode barcode = new Barcode();

// Set symbology
barcode.Symbology = SymbologyType.UPCE;
// Set value
barcode.Value = "Sample";

// Save barcode to image
barcode.SaveImage("result.png");

// Show image in default image viewer
Process.Start("result.png");
}
}
}

Download Free Trial Buy Now More Information
Shop safely: we provide 30-DAYS MONEY-BACK GUARANTEE for the product
Special 20% off discount is available in November 2008! Licensing prices are available as low as $98.95 per developer or web-site! Click here to find more

Documentation online: view (new window)

First steps tutorials:

Advanced Examples:
Products  |  Download  |  Purchase  |  Support  |  Contacts  |  Testimonials  |  News |  

ByteScout, 2003-2008. All other company and product names may be trademarks of their respective companies. Privacy Statement