EAN-13 is a barcode with standard which is a superset of the original UPC system. An Ean-13 barcode has 13 digit(12 data and 1 for check). It's mainly used in supermarkets and other retail.
How to Generate EAN-13
Generating EAN-13 in .NET is one of the generation roles in pqScan .NET Barcode Creator.
Ean-13 Barcode Creator can be integrate into any .NET programmings:
- Generate EAN-13 in ASP.NET web sites
- Make EAN-13 barcode in .NET Windows Forms
- Encode Ean-13 using C#/VB.NET
Maybe you have interested in create UPC-A in .NET projects.
BarType: To generate EAN-13 barcode, you need change barcode type to EAN13.
Data: Only support numeric digits (0 through 9). Input date length could only be 12, and the check digit will be added automatically.
ShowText: If true, a human-readable text will be added at the bottom of EAN-13 barcode image.
Width: It's barcode image width. EAN-13 Creator will try to fill the width to draw barcode image, and if the generated barcode width is remain smaller than image width, some left and right margin would appear on EAN-13 barcode image.
Height: It's barcode image height. EAN-13 Creator will draw barcode full fill the height.
PictureFormat: Make barcode and render image as Bmp, Png, Tiff, Jpeg, Gif format.
BarcodeColor: Customize the foreground color of EAN-13 barcode image. Default is Black color.
BackgroundColor: Specify the background color of EAN-13 barcode image. Default is White color.
// generate and print ean 13 on Bitmap object public Bitmap CreateBarcode() // create and paint ean13 to image file publicvoidCreateBarcode(string filename) // encode ean 13 and draw on Stream object publicvoidCreateBarcode(Stream stream) // make and print ean13 to byte[] object publicbyte[] CreateBarcodeInBytes()