.NET Core C# Micro QR Code Generator Library SDK
How to create, draw 2d barcode Micro QR Code images using C# class for ASP.NET Core Web & WinForms projects
"This .NET suite helps my team a lot, a bunch of time being saved. OnBarcode support is awesome, and we couldn't ask more than this."
- Bill Twain, Canada
Using Micro QR Code C#.NET Barcode Library to generate Micro QR Code barcode images in .NET Applications
Generate Micro QR Code Barcode Images Using C# Class

Top
Please use the following C# sample code to generate a Micro QR Code barcode image for Visual Studio .NET Framework applications:
using System;
using System.Collections.Generic;
using System.Text;
using OnBarcode.Barcode;
using System.Drawing.Imaging;
using System.Drawing;
MicroQRCode Micro_QR_Code = new MicroQRCode();
/*
Encodable character set:
1) numeric data (digits 0 - 9);
2) alphanumeric data (digits 0 - 9; upper case letters A -Z;
nine other characters: space, $ % * + - . / : );
3) byte data (default: ISO/IEC 8859-1; or other sets as otherwise defined.
4) Kanji characters. Kanji characters in QR Code 2005 can be compacted into 13 bits.
*/
Micro_QR_Code.Data = "ONBARCODEMICROQRCODE";
Micro_QR_Code.DataMode = QRCodeDataMode.AlphaNumeric;
// Micro QR Code Image Size Related Settings
Micro_QR_Code.UOM = UnitOfMeasure.PIXEL;
Micro_QR_Code.X = 5;
Micro_QR_Code.LeftMargin = 6;
Micro_QR_Code.RightMargin = 6;
Micro_QR_Code.TopMargin = 6;
Micro_QR_Code.BottomMargin = 6;
Micro_QR_Code.BarcodeHeight = 101;
Micro_QR_Code.BarcodeWidth = 101;
// Other Related Settings
Micro_QR_Code.Rotate = Rotate.Rotate0;
Micro_QR_Code.Resolution = 72;
// Create Micro QR Code and save barcode to png format
Micro_QR_Code.ImageFormat = System.Drawing.Imaging.ImageFormat.Png;
Micro_QR_Code.drawBarcode("C://microqrcode.png");
// Draw Micro QR Code to C# Bitmap object
Bitmap Micro_QR_CodeBitmap = Micro_QR_Code.drawBarcode();
More C# Barcode Generation Tutorials for Each Barcode

Top
Barcode Control for C#.NET - Bar Code Type Generation