- Home
- Purchase
- Developer Tools
- BarCode Generator SDK
- BarCode Generator SDK for Javascript for Code 128
- BarCode Reader SDK
- PDF Generator SDK for Javascript
- PDF Extractor SDK
- PDF Renderer SDK
- PDF To HTML SDK
- PDF Viewer SDK
- Spreadsheet SDK
- Image To Video SDK
- Screen Video Capturing SDK
- SWF To Video and Images SDK
- Images Watermarking SDK
- Document SDK beta
- Misc Tools
- Desktop Utilities
- Download
- Support
- Company
How to generate(display) QR Code barcode using Bytescout.BarCode SDK for .NET in your Visual Basic.NET, C# or ASP.NET application
Output barcode screenshot (QR Code 2D symbology barcode type):

QR Code symbology. QR Code initially was used for tracking parts in vehicle manufacturing, but now QR Codes used in a much broader context, including both commercial tracking applications and convenience-oriented applications aimed at mobile phone users (known as mobile tagging).
Important: you can also use BarCode Windows Forms or Web ImageControl instead. To use the Windows Formscontrol in Visual Studio please open Toolbox and open "Bytescout Software" tab and drag-n-drop "BarCode" control into your WinForms or ASP.NET application (in design mode)
Visual Basic:
Imports Bytescout.BarCode
Module Module1
Sub Main()
' Create new barcode
Dim barcode As New Barcode()
' Set symbology
barcode.Symbology = SymbologyType.QRCode
' Set value
barcode.Value = "this is a test string"
' Save barcode to image
barcode.SaveImage("result.png")
' Show image in default image viewer
Process.Start("result.png")
End Sub
End Module
Visual C#:
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using Bytescout.BarCode;
namespace Sample
{
class Program
{
static void Main(string[] args)
{
// Create new barcode
Barcode barcode = new Barcode();
// Set symbology
barcode.Symbology = SymbologyType.QRCode;
// Set value
barcode.Value = "this is a test string";
// Save barcode to image
barcode.SaveImage("result.png");
// Show image in default image viewer
Process.Start("result.png");
}
}
}
Filed in:
BarCode Generator SDK
Tutorials:








