How to Generate QR Code in .NET WinForms

How to Generate 2D QR Code Barcode Images in .NET WinForms
  • 100% developed in C#.NET, compatible with .NET Framework 2.0/3.0/4.0
  • Compatible with latest ISO/IEC 18004 to output valid QR Code for all printers
  • Simple to generate 2D QR Code barcodes in Visual Studio 2005 and above versions
  • Easy to drag & drop 2D QR Code generating control DLL into Windows Forms
  • Provide simple and complete developer guide for 2D QR Code generation
  • Support 2D QR Code barcode image saving in different formats
  • Offer different types of royalty-free developer licenses upon purchasing
.NET WinForms QR Code Library Overview
QR Code Barcode Generation SDK Software is the best barcode plug-in device which enables .NET developers to integrate QR Code and other 1D & 2D barcode pictures into Windows Forms, C#.NET and VB.NET class library. Besides, detailed tutorials are provided for QR Code data encoding and size & image setting.
QR Code, known as Denso Barcode, QRCode, Quick Response Code, JIS X 0510 and ISO/IEC18004, is a 2D matrix barcode developed by Denso Wave. QR Code is used world-wide for its large capacity, small printout size and high scan speed. It encodes numeric data (digits o to 9), uppercase letters (A to Z), ten special characters (space, $ % * + - . / :), byte data and Kanji characters.
Download QR Code Barcode Generator for .NET WinForms
  • KeepAutomation.Barcode.Windows.dll
  • End User License Agreement
  • User Manual
  • Buy Now page
Users are free to use this evaluation version on your computer. Pay attention that a "KA Barcode" watermark will be visible on generated barcode images randomly.
QR Code Generation with .NET WinForms SDK
How to drag and drop QR Code generator to Windows Forms
  1. In Visual Studio, right click in "Toolbox" and select "Choose Items..."
  2. In the pop-up window, click button "Browse..." and select "KeepAutomation.Barcode.Windows.dll".
  3. Then, you'll see "BarCodeControl" in Visual Studio Toolbox.
  4. Select QR Code barcode type through Properties window.
  5. Drag and drop "BarCodeControl" into the project forms and a barcode is generated. Then, change its type to QR Code.
  6. Finally, you can customize QR Code image settings in the "Properties" window.
Generate QR Code in .NET WinForms Using C# or VB.NET
Using the C# or VB.NET sample code below accordingly to produce and encode QR Code in .NET Windows Forms applications. Firstly, you should add reference ("KeepAutomation.Barcode.Windows.dll") to your .NET WinForms project.
C# Sample code
     using KeepAutomation.Barcode.Bean;

BarCode barcode= new BarCode();
barcode.Symbology= KeepAutomation.Barcode.Symbology.QRCode;
barcode.CodeToEncode = "QR Code";
barcode.X = 6;
barcode.Y = 6;
barcode.generateBarcodeToImageFile("c://barcode-qrcode-csharp.gif");

VB Sample code
     Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

barcode.Symbology = KeepAutomation.Barcode.Symbology.QRCode
barcode.CodeToEncode = "QR Code"
barcode.X = 6
barcode.Y = 6
barcode.generateBarcodeToImageFile("c://barcode-qrcode-vbnet.gif")

QR Code Generator for .NET WinForms generates QR Code barcodes in accordance with QR Code barcode specification in International Organization of Standard (ISO) - ISO/IEC18004. Besides, it is also supports to accurately generate QR Code barcodes in accordance with GS1 standard. Users may make it work using "FNC1" property and setting it to "FNC1.First ", which designates data formatted in accordance with the GS1 General Specifications.
C# Sample code
     barcode.FNC1 = KeepAutomation.Barcode.FNC1.First;
VB Sample code
     barcode.FNC1 = KeepAutomation.Barcode.FNC1.First
How to Generate QR Code with Error Correction Level in .NET WinForms
QR Code adds a Reed-Solomon Code to the original data to restore data if the code is dirty or damaged. That is QR Code Error Correction Capacity. QR Code Generator for WinForms provides 4 levels error correction: L (7%), M (15%), Q (25%), and H (30%) for user to choose according to the operating environment. Users may make it work using "QRCodeECL" property and setting it to L, M, Q, and H according to your needs.
C# Sample code
     barcode.QRCodeECL = KeepAutomation.Barcode.QRCodeECL.L;
VB Sample code
     barcode.QRCodeECL = KeepAutomation.Barcode.QRCodeECL.L
How to Generate QR Code with ECI in .NET WinForms
The Extended Channel Interpretations (ECIs) enables QR Code to encode multiple character sets apart from the default encodable set, and other data interpretations. QR Code allows you to switch to other encoding characters (e.g. Arabic, Cyrillic, Greek, Hebrew) through ECI. Users are able to use this function by modifying "QRCodeECI" property from default value 3 to other value.
C# Sample code
     barcode.QRCodeECI = 3;
VB Sample code
     barcode.QRCodeECI = 3
How to Generate QR Code with Tilde Function in .NET WinForms
Tilde function is encoded in Barcode Generator DLL for .NET WinForms for developers to encode special characters in QR Code. Users may apply this function by setting "TildeEabled" to true.
C# Sample code
     barcode.TildeEnabled = true;
VB Sample code
     barcode.TildeEnabled = true
Free Trial DownloadWinForms QR Code.NET Class QR CodeUsing C#Using VB.NETData Matrix for .NET WinFormsPDF417 for .NET WinFormsmoreCodabar for .NET WinFormsCode 39 for .NET WinFormsCode 128 for .NET WinFormsEAN-8 for .NET WinFormsEAN-13 for .NET WinFormsEAN 128 for .NET WinFormsIntelligent Mail for .NET WinFormsInterleaved 2 of 5 for .NET WinFormsISBN for .NET WinFormsITF-14 for .NET WinFormsRM4SCC for .NET WinFormsUPC-A for .NET WinFormsUPC-E for .NET WinFormsmore
KeepAutomation provides complete barcode automation solutions for Business Application, Enterprise Developement Project, and mobile applications. We recommend the customers use high quality .net image viewer sdk, c# image viewer, vb.net image viewer, C# PDF document viewer, VB.NET PDF document viewer, C# Word document viewer, VB.NET Word document viewer, C# Tiff image viewer, VB.NET Tiff image viewer from RasterEdge.com.