Blazor Barcode Example - QR Code
This sample displays a machine-readable optical label that contains information about the item to which it is attached. The information may be a location, a URL, an address book, etc.
This example shows how to display a URL as an optical label using the SfQRCodeGenerator
component.
You can customize the QR barcode's Value
, allowing you to modify the barcode content. Adjust its Width
, Height
, Background Color
, and Fore Color
to control its size and appearance.
The Text Visibility
option lets you choose whether to display the accompanying text. Margin
properties such as left, right, top, and bottom define the spacing around the barcode.
The Version
property is used to set the version of the QR barcode. Also, the Barcode component provides support to set the error correction level on a QR-type barcode by using the ErrorCorrectionLevel
property.
The Download
button allows users to save the barcode as an image.