Class QRCode
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Barcode.Symbology
Assembly: Telerik.WinControls.UI.dll
Syntax
public class QRCode : ISymbology, INotifyPropertyChanged
Constructors
QRCode()
Creates a new QRCode symbology with default values which can be used by RadBarcode to encode values into QR barcodes.
Declaration
public QRCode()
QRCode(CodeMode, Int32, ErrorCorrectionLevel, ECIMode, FNC1Mode, String)
Creates a new QRCode symbology which can be used by RadBarcode to encode values into QR barcodes.
Declaration
public QRCode(CodeMode mode, int version, ErrorCorrectionLevel errorLevel, ECIMode eciMode, FNC1Mode fncMode, string appIndicator)
Parameters
CodeMode
mode
The type of code that will be used for encoding. |
System.Int32
version
Determines the size of the QR code and the amount of information that can be encoded. Accepted values are in the range [1..40]. If you set the version to a number outside this range, version will be calculated automatically. |
ErrorCorrectionLevel
errorLevel
How much data will be available for error correction. |
ECIMode
eciMode
Extended Channel Interpretation (ECI) mode, which allows for encoding of characters from other sets. |
FNC1Mode
fncMode
Application of special formatting to the code data. |
System.String
appIndicator
The application identifier to be encoded in the QR code. |
Fields
QuietZone
Declaration
public const int QuietZone = 4
Field Value
System.Int32
|
Properties
ApplicationIndicator
Gets or sets the application identifier to be encoded in the QR code.
Declaration
public virtual string ApplicationIndicator { get; set; }
Property Value
System.String
|
BinaryMatrix
Gets the true/false values representing each module in the QR code.
Declaration
public bool[, ] BinaryMatrix { get; }
Property Value
System.Boolean[,]
|
CodeMode
Gets or sets the type of code that will be used for encoding, such as Numeric, Alphanumeric, Byte or Kanji.
Declaration
public virtual CodeMode CodeMode { get; set; }
Property Value
CodeMode
|
ECIMode
Gets or sets the Extended Channel Interpretation (ECI) mode, which allows for encoding of characters from other sets.
Declaration
public virtual ECIMode ECIMode { get; set; }
Property Value
ECIMode
|
ErrorCorrectionLevel
Gets or sets how much data will be available for error correction.
Declaration
public virtual ErrorCorrectionLevel ErrorCorrectionLevel { get; set; }
Property Value
ErrorCorrectionLevel
|
FilledValuesMatrix
Gets the matrix, reflecting the filled modules/positions in the QR code matrix.
Declaration
public bool[, ] FilledValuesMatrix { get; }
Property Value
System.Boolean[,]
|
FNC1Mode
Gets or sets application of special formatting to the code data.
Declaration
public virtual FNC1Mode FNC1Mode { get; set; }
Property Value
FNC1Mode
|
Module
Gets or sets a module by which the barcode can be scaled up. Note that this property is considered only when SizingMode is set to Manual.
Declaration
public int Module { get; set; }
Property Value
System.Int32
|
SizingMode
Gets or sets whether the bars of the barcode should be stretched to fill the space available.
Declaration
public SizingMode SizingMode { get; set; }
Property Value
SizingMode
|
Version
Gets or sets the version of the QR code. The version determines the size of the QR code and the amount of information that can be encoded. Accepted values are in the range [1..40]. If you set the version to a number outside this range, version will be calculated automatically.
Declaration
public int Version { get; set; }
Property Value
System.Int32
|
VersionDimension
Gets the size of the QR code based on the current version.
Declaration
public virtual int VersionDimension { get; }
Property Value
System.Int32
|
Methods
CreateElements(IElementFactory, Rectangle)
Declaration
public virtual void CreateElements(IElementFactory factory, Rectangle bounds)
Parameters
IElementFactory
factory
|
System.Drawing.Rectangle
bounds
|
Implements
EncodeData(String)
Declaration
public string EncodeData(string dataToEncodeL)
Parameters
System.String
dataToEncodeL
|
Returns
System.String
|
OnPropertyChanged(PropertyChangedEventArgs)
Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
|
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|