Class QRBarcode
Represent a class which encodes the following characters, [09]; [AZ(upper-case only)]; [space $ % * + - . / , :]; [Shift JIS characters].
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Barcode
Assembly: Syncfusion.Barcode.WinUI.dll
Syntax
public class QRBarcode : BidimensionalBarcode, INotifyPropertyChanged
Remarks
The QRBarcode can be encoded as textual, numeric and binary data.
Examples
<syncfusion:SfBarcode Width="200" Height="200" Value="Syncfusion">
<syncfusion:SfBarcode.Symbology>
<syncfusion:QRBarcode/>
</syncfusion:SfBarcode.Symbology>
</syncfusion:SfBarcode>
using Syncfusion.UI.Xaml.Barcode
SfBarcode sfBarcode = new SfBarcode();
sfBarcode.Value = "Syncfusion";
sfBarcode.Symbology = new QRBarcode();
Constructors
QRBarcode()
Initializes QRBarcode class.
Declaration
public QRBarcode()
Properties
ErrorCorrectionLevel
Gets or sets the error correction level of QRBarcode to determine the percentage of codewords to be restored.
Declaration
public ErrorCorrectionLevel ErrorCorrectionLevel { get; set; }
Property Value
Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ErrorCorrectionLevel | The default value is Low. Fields:
|
InputMode
Gets or sets the input mode of QRBarcode in which the data should be encoded
Declaration
public QRInputMode InputMode { get; set; }
Property Value
Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
QRInputMode | The default value is BinaryMode. Fields:
|
Remarks
This property is applicable only for QRBarcode
QRVersion
Gets or sets the version of QRBarcode to decide on the number of modules that is used to encode the amount of data.
Declaration
public QRBarcodeVersion QRVersion { get; set; }
Property Value
Type | Description |
---|---|
QRBarcodeVersion | The QRBarcode uses version from 1 to 40. Version 1 measures 21 modules x 21 modules, version 2 measures 25 modules x 25 modules, and so on. The number of modules increases in steps of 4 modules per side up to version 40 that measures 177 modules x 177 modules. The default value is Auto. |
Remarks
The QRBarcode version's data capacity depends on the amount of data, character type and error correction level