C# Micro QR Code Generator Control (SDKs) Introduction
Top
Micro QR code is a very small QR Code commonly used in applications that need a smaller space and use smaller amounts of data. The efficiency of data encoding has been improved by using only one position detection pattern.
Micro QR Code C# Barcode Generator Library directly uses .NET Barcode Generator Suite DLLs. And it is widely adopted to create and print about 30 linear & matrix barcode images for Visual C#.NET applications.
Related Micro QR Code Generator Library Controls
OnBarcode.com offers some other Micro QR Code Barcode Components: .NET Micro QR Code, ASP.NET Micro QR Code, VB.NET Micro QR Code.
This page provides detailed C# source code to generate Micro QR Code barcode images using C# class .NET projects.
Barcode Library DLLs that you may also be interested in
OnBarcode designs some barcode generation libraries for Visual Basic.NET and ASP.NET Web.
ASP.NET Barcode Generator DLL supports barcode generation for:
Code 39 in ASP.NET, Code 128 in ASP.NET, Interleaved 2 of 5 in ASP.NET, UPC-A in ASP.NET, QR Code in ASP.NET.
Code 39 in ASP.NET, Code 128 in ASP.NET, Interleaved 2 of 5 in ASP.NET, UPC-A in ASP.NET, QR Code in ASP.NET.
VB.NET Barcode Generator SDK supports barcode generation for:
Data Matrix in VB.NET, QR Code in VB.NET, Code 39 in VB.NET, GS1-128 in VB.NET, UPC-A in VB.NET.
Data Matrix in VB.NET, QR Code in VB.NET, Code 39 in VB.NET, GS1-128 in VB.NET, UPC-A in VB.NET.
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
- C#.NET 1D / Linear Barcodes:
- C#.NET 2D / Matrix Barcodes: Data Matrix in C#, PDF-417 in C#, QR Code in C#, Micro PDF-417 in C#, Micro QR Code in C#
