.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

OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.