menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class QRBarcode - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class QRBarcode

    Represent a class which encodes the following characters, [09]; [AZ(upper-case only)]; [space $ % * + - . / , :]; [Shift JIS characters].

    Inheritance
    System.Object
    NotificationObject
    BarcodeBase
    BidimensionalBarcode
    QRBarcode
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    NotificationObject.PropertyChanged
    NotificationObject.RaisePropertyChanged(String)
    NotificationObject.RaisePropertyChanged(String[])
    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:

    EnumerationDescription
    LowApproximately 7% of the codewords can be restored.
    MediumApproximately 15% of the codewords can be restored.
    QuartileApproximately 25% of the codewords can be restored.
    HighApproximately 30% of the codewords can be restored.

    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:

    EnumerationDescription
    NumericModeInput will contain only the numeric values [0-9].
    AlphaNumericModeInput may contain [0-9], [A-Z], SPACE, $, %, *, +, -, ., /, :
    BinaryModeInput will contain all ASCII values.
    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

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved