BizCode Barcode Generator for .NET Ultimate
The most mature & flexible barcode SDK for Microsoft .NET
Quick Overviews
  • Mature barcode creating SDK
  • Support every .NET IDEs
  • Support C#, VB.NET, etc.
  • Dynamic barcodes support
  • For all printers
Barcode .NET > Generate Barcode .NET
How to Generate Barcodes in .NET Framework
Barcode Generator for .NET Ultimate is an easy-to-use .NET barcode generating DLL, which supports .NET 2.0 and later version to be used in Visual Studio 2005, VS 2008 and VS 2010. It is compatible with C#, Visual Basic .NET, managed C++ and Delphi .NET and other development environment in .NET Framework.
.NET Barcode Generation SDK is able to generate and create over 20 linear, postal & 2D barcodes, including QR Code, Data Matrix, PDF-417, Code 39, Code 128, EAN 13, GS1 128, Intelligent Mail, UPC-A, etc in accordance with the latest barcode specification in ISO or GS1 system.
Rich 2D barcode settings are provided by BusinessRefinery .NET Barcode Generator SDK to manipulate barcode in font, color, size and wide to narrow ratio, etc. according to developer' needs. This document gives step-to-step samples to create linear & 2D barcodes in .NET project using Visual C# and VB.NET class (sample code). BusinessRefinery also provides samples to create barcodes with a given size in .NET Projects.
Barcode Generator for .NET Ultimate Requirements
Windows OS
- Microsoft Windows 7
- Windows Server 2008
- Windows Vista
- Windows Server 2003
- Windows XP
Development Environments
- .NET 2.0/3.0/4.0
- C#, Visual Basic, Managed C++ and Borland Delphi.NET
- Visual Studio 2005/2008/2010
- .NET Windows Forms Application
- .NET Class and Console Applications
- ASP.NET Web Forms
- .NET SSRS and Crystal Report
Install .NET Barcode Generator Ultimate
How to Add Barcode Generating Reference to Your .NET Project?
  1. Unzip Barcode Generator for .NET Ultimate package;
  2. Add BusinessRefinery.Barcode.Win.dll or BusinessRefinery.Barcode.Win.dll to your .NET project folder;
    (The DLL will be copied to the bin directory automatically)
  3. Open your Microsoft Visual Studio and click "Project" and choose "Add Reference";
  4. Go to "Browse" and select BusinessRefinery.Barcode.Web.dll or BusinessRefinery.Barcode.Win.dll;
  5. Then BusinessRefinery.Barcode.Win.dll or BusinessRefinery.Barcode.Win.dll is added on your .NET project.
How to Add Barcode Control in .NET?
Add .NET Winforms Control to .NET Winforms Visual Studio Toolbox
  1. Unzip Barcode Generator for .NET Ultimate package;
  2. Open your Microsoft Visual Studio and select "Choose Items... ";
  3. In "Choose Toolbox Items" form, click button "Browse...", and select BusinessRefinery.Barcode.Win.dll;
  4. After selection, you will find four items under "Components" section: WinLinearBarcode, WinDataMatrix, WinPDF417, and WinQRCode;
  5. Select all of 4 components. Then these 4 components in your Visual Studio Toolbox.
How to Add Barcode Control in .NET?
Add ASP.NET Web Form Control to ASP.NET Visual Studio Toolbox;
  1. Open your Microsoft Visual Studio and select "Choose Items... ";
  2. In "Choose Toolbox Items" form, click button "Browse...", and select BusinessRefinery.Barcode.Web.dll;
  3. After selection, you will find four items under "Components" section: WebLinearBarcode, WebDataMatrix, WebPDF417, and WebQRCode;
  4. Select all of 4 components. Then these 4 components in your Visual Studio Toolbox.
How to Drag & Drop Winforms Barcode Control to Draw Barcodes in .NET?
  1. Install.NET Barcode Generator Ultimate;
  2. Add .NET Winforms Barcode Generator Control to your Visual Studio ToolBox;
  3. Drag and drop "WinQRCode" to your Windows forms;
  4. Then a QR Code is generated.
How to Drag & Drop ASP.NET Barcode Control to Draw Barcodes in .NET?
  1. Install .NET Barcode Generator Ultimate;
  2. Add ASP.NET Web Control to your Visual Studio ToolBox;
  3. Drag and drop "WebQRCode" to your Windows forms;
  4. Then a QR Code is generated.
How to Create Barcodes with C#, VB.NET Class in .NET?
Copy those following code to your .NET project:
using BusinessRefinery.Barcode;
QRCode barcode = new QRCode();
barcode.Code = "QR Code";
barcode.Resolution = 104;
barcode.Rotate = Rotate.Rotate180;
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c:/qr-code-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.QRCode = 
New BusinessRefinery.Barcode.QRCode()
barcode.Code = "QR Code"
barcode.Resolution = 104
barcode.Rotate = BusinessRefinery.Barcode.Rotate.Rotate270
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/qr-code-vb-net.gif")
How to Create Barcodes in IIS?
  1. Unzip Barcode Generator for .NET Ultimate package;
  2. Copy barcode fold and contents to IIS and create a new file directory called "br_barcode";
  3. Restart IIS, navigate to http://localhost/br_barcode/qrcode.aspx?code=qrcode;
  4. Add an image tag <img> into the web page to create QR Code barcode image in html or aspx pages, e.g.
    <img src="http://localhost/br_barcode/qrcode.aspx?code=qrcode/>.
How to Draw Barcodes to Image Files and ASP.NET Objects?
Copy those following code to your .NET project:
using BusinessRefinery.Barcode;
QRCode barcode = new QRCode();
barcode.Code = "QR Code";
barcode.Resolution = 104;
barcode.Rotate = Rotate.Rotate180;
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c:/qr-code-csharp.gif");

Draw barcode image into .NET Graphics, Stream & Bitmap objects.

public void drawBarcode2ImageFile(string filename);
public void drawBarcode2Stream(Stream fileStream);
public byte[] drawBarcodeAsBytes();
public Bitmap drawBarcodeOnBitmap();
public void drawBarcodeOnGraphics(Graphics graphics);
Dim barcode As BusinessRefinery.Barcode.QRCode = 
New BusinessRefinery.Barcode.QRCode()
barcode.Code = "QR Code"
barcode.Resolution = 104
barcode.Rotate = BusinessRefinery.Barcode.Rotate.Rotate270
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/qr-code-vb-net.gif")

Draw barcode image into ASP.NET Graphics, Stream & Bitmap objects.

Public Sub drawBarcode2Stream(ByVal fileStream As System.IO.Stream)
Public Sub drawBarcodeOnGraphics(ByVal graphics As
System.Drawing.Graphics)
Public Function drawBarcodeAsBytes() As Byte()
Public Function drawBarcodeOnBitmap() As System.Drawing.Bitmap