EAN/JAN 13
The EAN8 barcode encodes a twelve-digit GTIN-8 number. The EAN8 Supplement 2 and EAN8 Supplement 5 add two or five digits to an EAN8 barcode. The following three examples illustrate.
EAN 13
The EAN13 barcode encodes a GTIN-13 number consisting of twelve data digits and one check digit.
Ean13 barcode = new Ean13("123456789012");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);
Dim barcode As Ean13 = New Ean13("123456789012")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)
EAN 13 Supplement 2
The two-digit Supplement 2 barcode adds a two-digit barcode after the main EAN13 barcode.
Ean13Supplement2 barcode = new Ean13Supplement2("123456789012","12");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);
Dim barcode As Ean13Supplement2 = New Ean13Supplement2("123456789012","12")
barcode.Draw(pngFilePath, 300, ImageFormat.Png)
EAN 13 Supplement 5
A five -digit Supplement 5 barcode adds a five-digit barcode after the main EAN13 barcode.
Ean13Supplement5 barcode = new Ean13Supplement5("123456789012","12345");
barcode.Draw(pngFilePath, 300, ImageFormat.Png);
Dim barcode As Ean13Supplement5 = New Ean13Supplement5("123456789012","12345")
barcode.Draw(pngFilePath", 300, ImageFormat.Png)