BizCode Generator for Winforms
The most robust & powerful barcode component for Microsoft .NET Windows Forms
Quick Overviews
  • Professional barcode control
  • Flexible controls provided
  • Support WinForms projects
  • Linear & 2D barcodes support
  • Winforms Data-binding support
How to Create Barcodes in Winforms with a Given Size
BizCode Generator for Winforms is a .NET Winforms Control that lets developers to generate barcode in Windows Forms applications. It is compatible with C#, VB.NET, managed C++ and Delphi supported by .NET and more. More than 30 linear and 2D barcode symbologies are supported by BizCode Generator for Winforms, including Code 39, Code 128, UPC/EAN barcode, QR Code , Data Matrix, PDF-417, etc.
All the generated barcodes are compatible with the latest barcode specifications. Rich barcode options for the adjustment of barcode size, including bar width, bar height, image width, image height, etc.
Compatibility & Requirements
.NET Development Environments
- .NET 2.0/3.0/4.0
- C#, Visual Basic, Managed C++ and Borland Delphi .NET
- Visual Studio 2005/2008/2010
Compatible Project Types
- .NET Windows Forms Application
- .NET Class and Console Applications
- ASP.NET Web Forms
- .NET SSRS and Crystal Report
Compatibility & Test Environment
Compatible Operating Systems
- Microsoft Windows 7
- Windows Server 2008
- Windows Vista
- Windows Server 2003
- Windows XP
Test Environment:
-Microsoft Windows XP
-Microsoft Visual Studio 2005
-Visual C#.NET
How to Create Barcodes in Winforms with Fixed Bar Width
  1. Unzip .NET Barcode Generator for Winforms trial;
  2. Copy BusinessRefinery.Barcode.Win.dll to your project folder; (Do not copy dll to .NET bin directory; Visual Studio build tools will do it for you.)
  3. Run Visual Studio .NET and open an existed Windows Application or create a new one;
  4. Go to "Project" and choose "Add Reference";
  5. Go to "Browse" and select BusinessRefinery.Barcode.Win.dll;
  6. Go to Toolbox, right click to select "Choose Items... ";
  7. In "Choose Toolbox Items" form, click button "Browse...", and select BusinessRefinery.Barcode.Win.dll;
  8. After selection, you will find four items under "Components" section: WinLinearBarcode, WinDataMatrix, WinPDF417, and WinQRCode;
  9. Select all of four components. Then these 4 components in your Visual Studio Toolbox;
  10. Drag and drop "WinQRCode" to your Windows forms;
Sample Code: How to Create Barcodes in Winforms with Fixed Bar Width
Add the following Sample Code to Form1.cs:
using BusinessRefinery.Barcode.Win;

WinLinearBarcode barcode=new WinLinearBarcode ();
barcode.Symbology = BusinessRefinery.Barcode.Symbology.CODE39;
barcode.Code = "CODE 39";
barcode. AutoSize=true;
barcode.Width = 150;
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c://code39.gif");
Dim barcode As BusinessRefinery.Barcode.QRCode = 
New BusinessRefinery.Barcode.QRCode()
barcode.Code = "QR Code"
barcode.AutoSize = false
barcode.BarWidth = 5
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/qr-code.gif")
How to Create Barcodes in Winforms with Given Image Size
  1. Unzip .NET Barcode Generator for Winforms trial;
  2. Copy BusinessRefinery.Barcode.Win.dll to your project folder; (Do not copy dll to .NET bin directory; Visual Studio build tools will do it for you.)
  3. Run Visual Studio .NET and open an existed Windows Application or create a new one;
  4. Go to "Project" and choose "Add Reference";
  5. Go to "Browse" and select BusinessRefinery.Barcode.Win.dll;
  6. Go to Toolbox, right click to select "Choose Items... ";
  7. In "Choose Toolbox Items" form, click button "Browse...", and select BusinessRefinery.Barcode.Win.dll;
  8. After selection, you will find four items under "Components" section: WinLinearBarcode, WinDataMatrix, WinPDF417, and WinQRCode;
  9. Select all of four components. Then these 4 components in your Visual Studio Toolbox;
  10. Drag and drop "WinQRCode" to your Windows forms;
Sample Code: How to Create Barcodes in Winforms with Given Image Size
Add the following Sample Code to Form1.cs
using BusinessRefinery.Barcode.Win;

WinLinearBarcode barcode=new WinLinearBarcode ();
barcode.Symbology = BusinessRefinery.Barcode.Symbology.CODE39;
barcode.Code = "CODE 39";
barcode. AutoSize=true;
barcode.Width = 150;
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c://code39.gif");
Dim barcode As BusinessRefinery.Barcode.QRCode = 
New BusinessRefinery.Barcode.QRCode()
barcode.Code = "QR Code"
barcode. AutoSize=true
barcode.Width = 150
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/qr-code.gif")