UPC Version E

DynamicPDF Barcoad Creator supports creating UPC-E barcodes. The following examples illustrate creating a UPC-E barcode, a UPC-E supplement two, and a UPC-E supplement five barcode.

UPC-E

The UPC-E barcode is the short form representation of a UPC-A barcode. It is suited for identifying products in small packages. The UPC-E is an eight digit barcode with one digit for number system (0 or 1), six data digits, and one check digit.

UpcE barcode = new UpcE("0123456");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);        
Dim barcode As UpcE = New UpcE("0123456")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)

UPC-E Supplement 2

A two digit supplement barcode adds a two digit barcode after the main UPCE barcode. The following example illustrates.

UpcESupplement2 barcode = new UpcESupplement2("0123456","12");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);     
Dim barcode As UpcESupplement2 = New UpcESupplement2("0123456","12")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)

UPC-E Supplement 5

A five digit supplement barcode adds a five digit barcode after the main UPCE barcode. The following example illustrates.

UpcESupplement5 barcode = new UpcESupplement5("0123456","12345");
barcode.Draw(pngFilePath", 300, ImageFormat.Png);       
Dim barcode As UpcESupplement5 = New UpcESupplement5("0123456","12345")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)

In this topic