Online Guide

For Using BC.NetBarcodeGenerator.All2D
How to create and generate 2d barcodes in .NET Windows Forms, ASP.NET Web Forms, and IIS applications.

Guide Overview

In addition to using BC.NetBarcodeGenerator.All2D library to generate 2D barcodes in .NET Class, you can also generate 2D barcodes in .NET Windows Forms, ASP.NET Web Forms, and IIS applications in other ways. Please firstly download and get the free trial library of BC.NetBarcodeGenerator.All2D. And the only thing for integration is to add your project reference to the library dll.

Support QR Code, Data Matrix, and PDF417 barcode symbologies.

BC.NetBarcodeGenerator.All2D



PLEASE NOTE, ASP.NET web project and .NET Windows Forms project demos are included in our free trial package. Please download a trial to see more.


1. 2D Barcodes Generation with Controller

One is for generating 2D barcodes on ASP.NET Web Forms, and another is for Windows Forms. Please note that you can set barcode type or other properties in the property window.

How to in ASP.NET Web Forms

1. Create an ASP.NET Web Forms project.
2. Add the project reference to BC.NetBarcodeGeneratorTrial.All2D.dll.
3. Right-click in Visual Studio ToolBox, select "Add a Tab", and name it as "BC".
4. Right-click on "BC" and click "Choose Item...".
5. Click button "Browse..." and open BC.NetBarcodeGeneratorTrial.All2D.dll.
6. Check the three components of BC.AspNetBarcodeGeneratorTrial and click "OK".
7. Successfully add the components under the "BC" tab in Visual Studio Toolbox.
8. Copy "BC.AspNetBarcodeGeneratorTrial.Qrcode.aspx", "BC.AspNetBarcodeGeneratorTrial.Qrcode.aspx.cs"
"BC.AspNetBarcodeGeneratorTrial.Datamatrix.aspx", "BC.AspNetBarcodeGeneratorTrial.Datamatrix.aspx.cs"
"BC.AspNetBarcodeGeneratorTrial.Pdf417.aspx", and "BC.AspNetBarcodeGeneratorTrial.Pdf417.aspx.cs"
from unzipped package "BC.IIS" folder to the same folder as your aspx pages. 9. Drag the component "BCWebQrcode", "BCWebDatamatrix", or "BCWebPdf417" to your ASPX web forms and run your website.

How to in .NET Windows Forms

1. Create a .NET Windows Forms project.
2. Add the project reference to BC.NetBarcodeGeneratorTrial.All2D.dll.
3. Right-click in Visual Studio ToolBox, select "Add a Tab", and name it as "BC".
4. Right-click on "BC" and click "Choose Item...".
5. Click button "Browse..." and open BC.NetBarcodeGeneratorTrial.All2D.dll.
6. Check the three components of BC.NetWinBarcodeGeneratorTrial and click "OK".
7. Successfully add the components under the "BC" tab in Visual Studio Toolbox.
8. Drag the component "BCWinQrcode", "BCWinDatamatrix", or "BCWinPdf417" to your Windows Forms and run your project.

2. 2D Barcodes Generation with BC.IIS

This section illustrates how to stream 2D barcode image in IIS web application using our built-in 2D barcodes generation application ("BC.IIS"). And you can find it after unzipping our free trial package. So, please get the free trial firstly.

How to in IIS

1. Copy "BC.IIS" folder to your Internet Information Services (IIS) folder, like C:\inetpub.
2. In IIS, create a new virtual directory and name it as "BC.Test" and connect it to "BC.IIS" in C:\inetpub.
3. Restart IIS, open a web browser, and navigate to the following sample URLs:
   http://BC.IIS/BC.AspNetBarcodeGeneratorTrial.Qrcode.aspx?SetData=WWW.BARCODEBC.COM&SetECL=L
   http://BC.IIS/BC.AspNetBarcodeGeneratorTrial.Datamatrix.aspx?SetData=WWW.BARCODEBC.COM&SetDPI=96
   http://BC.IIS/BC.AspNetBarcodeGeneratorTrial.Pdf417.aspx?SetData=WWW.BARCODEBC.COM&SetRows=5&SetColumns=6
4. To insert a 2D barcode in your HTML or aspx pages, you can directly insert an image tag (img) into the web pages.
   <img src="http://BC.IIS/BC.AspNetBarcodeGeneratorTrial.Qrcode.aspx?SetData=WWW.BARCODEBC.COM&SetECL=L">
   <img src="http://BC.IIS/BC.AspNetBarcodeGeneratorTrial.Datamatrix.aspx?SetData=WWW.BARCODEBC.COM&SetDPI=96">
   <img src="http://BC.IIS/BC.AspNetBarcodeGeneratorTrial.Pdf417.aspx?SetData=WWW.BARCODEBC.COM&SetRows=5&SetColumns=6">

You can adjust all barcodes properties via setting web stream URL parameters.

Please Note: 
1. If you want to generate only 1D barcodes in IIS, you may use our BC.NetBarcodeGenerator.All1D package.
2. BC.NetBarcodeGenerator.All2D package only supports 2D barcode symbologies generation for .NET applications. For all linear/1D and 2D 
barcodes generation, you should use our BC.NetBarcodeGenerator.All package
.




Guide for Each Barcode Symbology