How to generate and print 1D/2D barcode for .NET application using C# barcode SDK
C# Barcode Generator Library
  • Professional barcode component for .NET 2.0/3.0/3.5/4.0
  • Generate QR Code, UPC/EAN, Code 128, ISBN, and more in .NET project
  • Support VB.NET, C#, Managed C++ and Borland Delphi for .NET project
Barcode in C#
Create Barcode Image using C# Barcode Library
It is easy to integrate linear and 2D barcodes into C#.NET class & console applications with high quality. .NET framework 2.0/3.0/3.5 and later versions are supported.
The generated barcode can be saved as image in image file as gif, tiff, bmp, png, jpeg, etc. It is also available to store in the memory as Graphics, Bitmap, or Stream .NET objects.
Avapose barcode generator control for C# uses the Winforms barcode generation DLL which is time-stamped, digital-signed and strong-named. With the purchasing of developer license, Visual C# source code is available.
.NET Barcode Component for C#.NET - Supported Barcodes
2D Barcodes:
QR Code

PDF 417 Data Matrix
1D Barcodes:
Codabar Code 11 Code 25 Code 39 Code 93
Code 128 EAN 8 EAN 13 EAN 128 Identcode
Onecode Interleaved 25 ISBN ISSN ITF-14
Leitcode MSI PLANET POSTNET RM4SCC
UPC-A UPC-E
.NET Barcode Component for C#.NET - Installation Requirements

Requirements:

  • Windows XP, Windows Vista and Windows 7
  • .NET 2.0, 3.0, 3.5 and advanced version
  • Microsoft Visual Studio 2005/2008/2010
  • Any development that supports .NET Windows Forms

Install and register C#.NET barcode generator component

  1. Download .NET barcode for Winforms and unzip;
  2. Copy Avapose.linearbarcode.winforms.dll to your Visual Studio project folder;
  3. Add Winforms barcode class library to the project reference;
.NET Barcode for C#.NET Applications- Barcode Generation

Generate linear/1D barcodes in an image in C#.NET Class

  1. Download Avapose Winforms Barcode Trial and unzip;
  2. Copy Avapose.linearbarcode.winforms.dll to the project folder of your Windows Forms Application;
  3. Open a C# project with Visual Studio. In the "Solution Explorer", right click "Reference" and select "Add Reference";
  4. Click "Browse" in the popup window, find Avapose.linearbarcode.winforms.dll, and click "OK";
  5. Find "Toolbox", and drag a "Button" onto your Form;
  6. Double click "Button", or right click on "Button" and select "View Code". Writing the following C# code to generate linear barcodes. Using Code 128 as an example:
using Avapose.linearbarcode;
Linear barcode = new Linear();
barcode.LinearBarcode = LinearBarcode.Code128;
barcode.BarHeight_Y = 60;
barcode.BarWidth_X = 2;
barcode.BarcodeData = "135689415612";
barcode.DrawBarcodeImage("c:\\barcode.png");

Generate two-dimensional/2D barcodes in C#.NET class

  1. Download Avapose Winforms Barcode Trial and unzip;
  2. Copy Avapose.matrixbarcode.winforms.dll to the project folder of your Windows Forms Application;
  3. Open a C# project with Visual Studio. In the "Solution Explorer", right click "Reference" and select "Add Reference";
  4. Click "Browse" in the popup window, find Avapose.matrixbarcode.winforms.dll, and click "OK";
  5. Find "Toolbox", and drag a "Button" onto your Form;
  6. Double click "Button", or right click on "Button" and select "View Code". Writing the following C# code accordingly to generate 2D barcodes.
using Avapose.matrixbarcode;
Matrix barcode = new Matrix();
barcode.MatrixBarcode = MatrixBarcode.QRCode;
barcode.QRCodeVersion = QRCodeVersion.V12;
barcode.BarcodeData = "avapose";
barcode.DrawBarcodeImage("c:\\barcode.png");
Testimonial for Avapose.Barcode for .NET(C#)
We bought your Barcode Generator for .NET a few weeks ago, and it works pretty well
Carios Louis, Eureka Software Ltd,UK