Skip to content

Commit e512a58

Browse files
committed
Rewrite docs for ECCLevel
1 parent db1c4c4 commit e512a58

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

QRCoder/QRCodeGenerator.ECCLevel.cs

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,32 @@
33
public partial class QRCodeGenerator
44
{
55
/// <summary>
6-
/// Error correction level. These define the tolerance levels for how much of the code can be lost before the code cannot be recovered.
6+
/// Defines the levels of error correction available in QR codes.
7+
/// Each level specifies the proportion of data that can be recovered if the QR code is partially obscured or damaged.
78
/// </summary>
89
public enum ECCLevel
910
{
1011
/// <summary>
11-
/// 7% may be lost before recovery is not possible
12+
/// Level L: Low error correction (approximately 7% of data can be recovered).
13+
/// This level allows the highest data density.
1214
/// </summary>
1315
L,
16+
1417
/// <summary>
15-
/// 15% may be lost before recovery is not possible
18+
/// Level M: Medium error correction (approximately 15% of data can be recovered).
19+
/// Offers a balance between data capacity and error recovery.
1620
/// </summary>
1721
M,
22+
1823
/// <summary>
19-
/// 25% may be lost before recovery is not possible
24+
/// Level Q: Quartile error correction (approximately 25% of data can be recovered).
25+
/// More robust error correction at the cost of reduced data capacity.
2026
/// </summary>
2127
Q,
28+
2229
/// <summary>
23-
/// 30% may be lost before recovery is not possible
30+
/// Level H: High error correction (approximately 30% of data can be recovered).
31+
/// Provides the highest level of error recovery, ideal for environments with high risk of data loss.
2432
/// </summary>
2533
H
2634
}

0 commit comments

Comments
 (0)