The Barcode Generator control for .NET MAUI is a data visualization control that is used to generate and display data in the machine-readable format using industry-standard one-dimensional and two-dimensional barcodes. It encodes input values using supported symbology.
Easily get started with the .NET MAUI Barcode Generator using a few simple lines of XAML and C# code as demonstrated below. Also explore our .NET MAUI Barcode Generator Example that shows you how to render and configure .NET MAUI Barcode Generator.
<barcode:SfBarcodeGenerator Value="https://www.syncfusion.com/"
ShowText="True"
TextSpacing="15"
HeightRequest="350"
WidthRequest="350">
<barcode:SfBarcodeGenerator.Symbology>
<barcode:QRCode />
</barcode:SfBarcodeGenerator.Symbology>
</barcode:SfBarcodeGenerator>
SfBarcodeGenerator barcode = new SfBarcodeGenerator();
barcode.HeightRequest = 350;
barcode.WidthRequest = 350;
barcode.Value = "https://www.syncfusion.com/";
barcode.Symbology = new QRCode();
barcode.ShowText = true;
barcode.TextSpacing = 15;
this.Content = barcode;
The .NET MAUI Barcode Generator provides an option to display a barcode with or without input value text. Customize the position, style, and spacing of the text.
Use the QR input mode to ensure the values entered are the appropriate set of input characters.
The .NET MAUI Barcode Generator control supports a wide range of barcode symbologies.
Quick response code (QR code) is a popular two-dimensional barcode. It can efficiently store more information in a smaller space than 1D barcodes. Each barcode can store values up to 7089 characters. It is mostly used for URLs, payments, business cards, contact information, and more.
A Data Matrix is two-dimensional barcode. The information can be encoded with text or numeric values. Each barcode can store values up to 2335 characters. Data Matrix barcode will be mostly used for courier parcel, food industry, and more.
Code 128 is a very high-density barcode that supports alphanumeric characters. This barcode is used as the basis for many other barcodes like UCC/EAN, HIBC (health industry barcodes), and the Blood Bank industry.
The universal product code (UPC -A) is a numeric symbology used in worldwide retail applications. UPC-A symbols consist of 11 data digits and one check digit. The first digit is a number system digit that normally represents the type of product being identified.
Just like UPC-A, the UPC-E symbology supports only numeric characters. It is a zero-suppressed version of UPC-A symbology where it uses only 6 digits of product code and does not use the middle guard.
EAN-13 is based on the UPC-A standard. Like UPC-A, it supports only numeric characters. It encodes the 12 digits of input data with the check digit at its end. The difference between UPC-A and EAN-13 is that the number system used in EAN-13 consists of two digits ranging from 00 to 99, whereas the number system used in UPC-A consists of single digits, from 0 to 9.
EAN-8 is equivalent to the UPC-E for small packaging details. It is shorter than the EAN-13 barcode and longer than UPC-E. It encodes 7 digits of numeric data with the check digit at its end.
Code 39 is a common barcode type used for various labels such as name badges, inventory, and industrial applications. The symbology of the Code 39-character set consists of barcode symbols representing numbers 0-9, uppercase letters A-Z, and the space character.
Code 39 Extended is an extended version of Code 39. Lower characters and special characters are additionally supported.
Code 93 was designed to complement and improve Code 39. It is used to represent the full ASCII character set by using combinations of two characters. Code 93 can encode uppercase letters, numeric digits, and a handful of special characters.
Codabar is a discrete numeric symbology that is used in libraries, blood banks, and a variety of other information processing applications. It can encode 0-9 digits, six symbols, and start and stop characters.
The appearance of the .NET MAUI Barcode Generator is easily customizable. Customize barcode color, bar height, bar width, and more.
Apply a foreground color and background color to a barcode.
Specify the height of the barcode container or it will take the full container height.
Define the width of the smallest bar line or dot using the module property. This is not set: the size of the smallest bar line is determined depending on the width available.
The Syncfusion .NET MAUI Barcode Generator supports the following features:
You can find our .NET MAUI Barcode Generator demo, which demonstrates how to render and configure the Barcode Generator.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.