Class QRCodeWriter.QrErrorCorrectionLevel
The error correction level of a QR code. A higher QRCodeWriter.QrErrorCorrectionLevel creates more complex QR codes, which are less prone to reading errors. They may also be readable if damaged or partially obscured.
Inheritance
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public sealed class QrErrorCorrectionLevel : Enum
QrErrorCorrectionLevel sets how much redundancy a QR code carries so it still scans when damaged or partly covered, passed as the errorCorrection argument to QRCodeWriter.CreateQrCode. Low recovers about 7 percent of the data and keeps the symbol smallest, Medium recovers about 15 percent as a common balance, and High and Highest recover about 25 and 30 percent, enough to let a logo sit over the code. The create 2D barcodes how-to covers writing QR codes.
var qr = QRCodeWriter.CreateQrCode("12345", 500, QrErrorCorrectionLevel.Highest);Fields
High
QR Code error correction Level Q. Approximately 25% of QR data can be recovered.
Declaration
public const QRCodeWriter.QrErrorCorrectionLevel High
Field Value
| Type | Description |
|---|---|
| QRCodeWriter.QrErrorCorrectionLevel |
Highest
QR Code error correction Level H. Approximately 30% of QR data can be recovered.
Level H allows sufficient capacity for logo images or graphics to be stamped into QR codes.
Declaration
public const QRCodeWriter.QrErrorCorrectionLevel Highest
Field Value
| Type | Description |
|---|---|
| QRCodeWriter.QrErrorCorrectionLevel |
Low
QR Code error correction Level L. Approximately 7% of QR data can be recovered.
Declaration
public const QRCodeWriter.QrErrorCorrectionLevel Low
Field Value
| Type | Description |
|---|---|
| QRCodeWriter.QrErrorCorrectionLevel |
Medium
QR Code error correction Level M. Approximately 15% of QR data can be recovered.
Declaration
public const QRCodeWriter.QrErrorCorrectionLevel Medium
Field Value
| Type | Description |
|---|---|
| QRCodeWriter.QrErrorCorrectionLevel |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |