Represents a bar code symbology implementation for QrCode
.
- Inheritance:
-
object
Visual
UIElement
Framework
Element BarCode Grid2DBarSymbology Code objectSymbology
Remarks
QR Code is a two dimensional grid symbology, developed in 1994 by Denso. It was initially intended for use in production control of automotive parts, but it has become widespread in other fields.
This symbology can encode a maximum of 7089 numerical characters, 4296 alphanumeric characters, 2953 binary characters, or 1817 Kanji characters.
For detailed documentation on this symbology's features and how to use them, please see the QrCode documentation topic.
Constructors
QrCodeSymbology()
Initializes a new instance of the Qr
Properties
AllowLowercase
Gets or sets a value indicating whether lowercase characters are allowed. This is a dependency property.
Property Value
- bool:
true
if lowercase characters are allowed; otherwise,false
will force all lowercase characters to be uppercase. The default value isfalse
.
Remarks
The QR code specification does not allow lowercase characters when using the alphanumeric encoding mode. Therefore, when allowing lowercase characters the binary encoding mode must be used.
EciMode
Gets or sets the Extended Channel Interpretation (ECI) mode used to encode the specified value, when the Encoding
Property Value
- Eci
Mode ?: The Extended Channel Interpretation (ECI) mode. The default value is
null
, which indicates the ECI mode will be auto-selected based on the specified value.
EncodingMode
Gets or sets the mode used to encode the specified value. This is a dependency property.
Property Value
- Qr
Encoding ?:Mode The QR encoding mode. The default value is
null
, which indicates the encoding mode will be auto-selected based on the specified value.
ErrorCorrectionLevel
Gets or sets the percentage of data loss that can occur on a symbol before it becomes unreadable. As the error correction level increases, the amount of data that can be encoded decreases. This is a dependency property.
Property Value
- Qr
Error :Correction Level The error correction level.
MaskIndex
Gets or sets the QR mask applied to the code. This is a dependency property.
Property Value
- int?:
The QR mask applied to the code. The default value is
null
, which indicates the mask will be auto-selected based on the specified value.
Version
Gets or sets the version of the QR symbol. This value determines the number of modules that compose the symbol, thus contributing to the maximum amount of data that can be encoded. This is a dependency property.
Property Value
- Qr
Version ?: The version of the QR symbol. The default value is
null
, which indicates the version will be auto-selected based on the specified value.
Methods
OnValueChanged(string, string)
Occurs when the value of the Value property is changed.
ValidateValue(string)
Validates that the symbology can parse the specified value.
Parameter | Type | Description |
---|---|---|
value | string | The value to validate. |
Returns
- Validation
Result : A Validation
Result containing the result of the validation.
Fields
AllowLowercaseProperty
Identifies the Allow
EciModeProperty
Identifies the Eci
EncodingModeProperty
Identifies the Encoding
ErrorCorrectionLevelProperty
Identifies the Error
MaskIndexProperty
Identifies the Mask
VersionProperty
Identifies the Version dependency property. This field is read-only.
Inherited Members
-
Grid2DBar
Code Symbology. Cell Size Property -
Grid2DBar
Code Symbology. Grid Data Property -
Grid2DBar
Code Symbology. Quiet Zone Thickness Property -
Grid2DBar
Code Symbology. Measure Override(Size) -
Grid2DBar
Code Symbology. Render(Drawing Context, Point, Size) -
Grid2DBar
Code Symbology. Cell Size -
Grid2DBar
Code Symbology. Grid Data -
Grid2DBar
Code Symbology. Quiet Zone Thickness -
Bar
Code Symbology. Background Property -
Bar
Code Symbology. Foreground Property -
Bar
Code Symbology. Value Property -
Bar
Code Symbology. Measure Desired Size(Size) -
Bar
Code Symbology. On Render(Drawing Context) -
Bar
Code Symbology. To Bitmap(double, double) -
Bar
Code Symbology. Background -
Bar
Code Symbology. Display Name -
Bar
Code Symbology. Foreground -
Bar
Code Symbology. Value