QR Code Image Sample - pqScan.com
.NET EAN-13 Barcode Creator Encoding EAN-13 Image in .NET Online Demo Download Trial Purchase Now

How to Generate EAN-13

back to home  >  .NET Barcode Generator SDK  >  Generate Barcodes in .NET  >  Generate EAN-13 in .NET

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:

Maybe you have interested in create UPC-A in .NET projects.

More about EAN-13

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.

Useful encoding EAN-13 properties

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.

Useful encoding EAN-13 Methods

// 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()
.NET Barcode Creator QR Code Creator in .NET Data Matrix Creator in .NET PDF 417 Creator in .NET Aztec Code Creator in .NET EAN 8 Creator in .NET UPC A Creator in .NET Code 128 Creator in .NET Code 39 Creator in .NET