How to Generate Linear EAN13 Barcodes in .NET with C# Programming
Highly performance C# EAN-13 Barcode Generator SDK in use for more than 10 years
Generate high-quality EAN-13 images with simple C# Class programming
Create and Draw EAN-13 barcode in C# .NET WinForms or Web applications
Create and encode EAN-13 barcodes to various image formats
Easy to install without any activation key or registration code
Perfect integration with various .NET development environments, like Microsoft Visual Studio
C# Linear EAN13 Barcode Overview
Linear EAN13 Barcode is widely used in daily products. This barcode type can only encode 12 numeric data and a check digit, but it could store much information like manufacturer code, product information and area code. So with those codes, EAN13 barcode could track product worldwide and this is also why it is used to encode GITN.
Steps to Generate EAN13 Images in C#.NET Class?
The following are detailed steps to create EAN13 barcode in C# .NET Class:
Install our barcode.NET barcode generator components to your project by adding reference.
Install this barcode ASP.NET component to the Toolbox.
// Encode ean13 barcode and output to HttpResponse object HttpResponse response = ...; ean13.drawBarcode(response);
// Encode ean13 barcode and output to Stream object Stream stream = ...; ean13.drawBarcode(stream);
Above Free EAN13 sample codes are written in Visual C# 2005
Steps to Create EAN13 Barcodes in C# ASP.NET Web Project?
Add Barcodelib.Barcode.ASP.NET.dll to your web project.
Add Barcodelib.Barcode.ASP.NET.dll to Toolbox.
Open the folder barcode in the downloaded trial package and copy files "linear.aspx", "linear.aspx.cs" to the folder where your web project is created.
Drag LinearASPNET from the Toolbox and drop it on the split part of your aspx page. Then you will see a barcode image. (Note: the SDK default barcode image is Code 128.)
Click the produced barcode image, then change barcode type to EAN13 and its data to 12 digits in the Properties Window or generate EAN-13 barcode with the above C# sample codes.
Steps to Generate EAN13 Barcodes in C# WinForms Project?
Add BarcodeLib.Barcode.WinForms.dll from the downloaded trial package to your WinForms Project.
Add BarcodeLib.Barcode.WinForms.dll to your Visual Studio Toolbox.
Drag LinearWinForm to your windows form and you will see a Code 128 barcode image. Click the image and adjust its type to EAN13 in the Properties Window or create this linear barcode with above C# free sample codes.
Barcode Images Supported by C# EAN13 Generator SDK