QR Code is a 2D symbology, originally used in automotive manufacturing, that is now used worldwide for a wide variety of purposes.
It is readable by most mobile devices with cameras and can be used to display text to a user, compose a message, and much more.
A sample of this symbology
This symbology can encode up to 7,089 numeric characters, 4,296 alpha numeric characters, or 2,953 bytes. Extended Channel Interpretation (ECI) support also allows all UTF-8 characters to be encoded. Encoding modes are automatically switched when it is most efficient to do so. This symbology implementation also auto-calculates the QR Code symbol version and inserts error correction codewords.
Important
When using larger version numbers (i.e., version 25 and up), it may be necessary to lower the default cell size in order for QR code readers to properly read the value.
Symbology Characteristics
The following table gives an overview of the characteristics of the symbology.
Item | Details |
---|---|
Implementation Class | Qr |
Base Class | Grid2DBar |
Encodable Characters | Number characters, alphanumeric characters, and bytes. |
Supports Error Correction | Yes. The implementation will auto-calculate and insert error correction data. |
Fixed Length Requirements | No. The maximum length of the value varies depending on the type of data being encoded, the symbol version selected, and the error correction level selected. |
Important Members
This symbology has these important members:
Member | Description |
---|---|
Allow |
Gets or sets a value indicating whether lowercase characters are allowed. 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. |
Background Property |
Gets or sets the |
Cell |
Gets or sets the size in pixels of each cell. |
Display |
Gets the display name of the symbology. |
Eci |
Gets or sets the Extended Channel Interpretation (ECI) mode used to encode the specified value, when the |
Encoding |
Gets the mode in which the value will be encoded. The default value is |
Error |
Gets the level of error correction that will be added to the encoded data. The higher the error correction level is, the lower the quantity of data that can be encoded is. |
Foreground Property |
Gets or sets the |
Mask |
Gets or sets the QR mask applied to the code. The default value is |
Measure |
Measures the desired size of the symbology, based on the specified available size. |
Render Method |
Renders the symbology to the specified |
To |
Creates a |
Validate |
Validates that the symbology can parse the specified value. |
Value Property |
Gets or sets the value to encode in the bar code. |
Quiet |
Gets the thickness of the margin on each side of the rendered symbol. |
Version Property |
Gets the symbol version that should be rendered. The default value is |
Sample XAML
This sample XAML code shows how to create a Bar
Trademark
QR Code is a registered trademark of DENSO WAVE INCORPORATED. The trademark only applies to the word "QR Code", and not for any QR Code pattern (image).