UPC Version E
DynamicPDF Barcode 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, represented by the UpcE class, is the short form representation of a UPCA barcode (UpcA class). the UPC-E barcode 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, represented by the UpcESupplement2 class, 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, represented by the UpcESupplement5 class, 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)