[]
Specifies the error correction mode used by a DataMatrix barcode.
This enumeration determines how barcode data is protected against errors. Different modes provide different levels of error correction and may affect the generated symbol size. For example, ECC000 uses only a CRC checksum and usually produces the smallest symbol size, while ECC200 is the recommended mode and uses the Reed-Solomon error correction algorithm.
public enum EccMode
Public Enum EccMode
worksheet.Range["A1"].Value = "Test";
worksheet.Range["B1"].Formula = "=BC_DATAMATRIX(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",\"" + EccMode.ECC200.ToString() + "\",\"squareAuto\",\"auto\",\"auto\",FALSE,0,0,4,4,4,4)";
IDataMatrix dataMatrix = (IDataMatrix) worksheet.Range["B1"].Value;
EccMode eccMode = dataMatrix.EccMode;
| Name | Description |
|---|---|
| ECC000 | ECC000. This mode encodes data with only a CRC checksum and no additional error checking bits. Data encoded with this ECC mode usually requires the smallest symbol size. |
| ECC050 | Specifies the ECC050 mode for a Data Matrix barcode. This value selects one of the legacy ECC000-140 error correction modes. |
| ECC080 | Specifies the ECC080 mode for a DataMatrix barcode. This value selects one of the legacy ECC000-140 error correction modes. |
| ECC100 | Specifies the ECC100 mode for a DataMatrix barcode. This value selects one of the legacy ECC000-140 error correction modes. |
| ECC140 | Specifies the ECC140 mode for a DataMatrix barcode. This value selects one of the legacy ECC000-140 error correction modes. |
| ECC200 | ECC200. This is the suggested ECC mode. Data encoded with this ECC mode is protected by the Reed-Solomon error checking and correction algorithm. |