Aspose.BarCode provides APIs in multiple programming languages such as Java, Python, C++, and more. It offers a powerful solution to create and process barcodes and QR code programmatically. So, automating the whole process will give a competitive edge to your business software. Therefore, we will implement how to create Micro QR code in C# using Aspose.BarCode for .NET. However, in the coming days, we will also demonstrate how to create/read other types of QR codes programmatically. So, stay tuned for upcoming exciting tutorials containing code examples.
The following points will be covered:
- QR Code SDK Integration
- Create Micro QR Code in C# - Code Snippet
- Free Micro QR Code Generator - Online Tool
QR Code SDK Integration
Head over to the installation guide in case of any unwanted situation. Nevertheless, you can run the following command in the NuGet Package Manager or download the DLL file of this C# library:
PM> Install-Package Aspose.BarCode
Create Micro QR Code in C# - Code Snippet
You can simply follow the steps mentioned below:
- Create an instance of the BarcodeGenerator class and initialize it with the QRcode symbology type and text to be encoded.
- Set the size of the QR code in Pixels.
- Save(auto by default) the QR Code image to a specific file in PNG format.
- Set MicroQR M4 version and invoke the Save method to save the output file.
The following code sample shows how to develop a Micro QR code generator in C#:
Output:
Likewise, you can generate rectangular Micro QR code by using the following code snippet:
You can see the rectangular Micro QR code generated in the images below:
Free Micro QR Code Generator - Online Tool
There is an online Micro QR code scanner and generator powered by Aspose.BarCode. Moreover, it is free and you can open it in almost all commonly used web browsers.
Micro QR Code Generator - Get a Free License
You can get a free temporary license to try this QR Code SDK without evaluation limitations.
Summing up
This brings us to the end of this blog post. We have gone through how to create Micro QR code in C# programmatically. In addition, we also went through the creation of a rectangular Micro QR code using Aspose.BarCode for .NET. Similarly, you can check the documentation, GitHub repo and the API references to learn further.
Ask a question
You can let us know about your questions or queries on our forum.