[]
Serializable, Comparable<EccMode>, ConstableThis 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.
worksheet.getRange("A1").setValue("Test");
worksheet.getRange("B1").setFormula("=BC_DATAMATRIX(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",\"" + EccMode.ECC200.name() + "\",\"squareAuto\",\"auto\",\"auto\",FALSE,0,0,4,4,4,4)");
IDataMatrix dataMatrix = (IDataMatrix) worksheet.getRange("B1").getValue();
EccMode eccMode = dataMatrix.getEccMode();
Enum.EnumDesc<E extends Enum<E>>Data encoded with this ECC mode usually requires the smallest symbol size.
This value selects one of the legacy ECC000-140 error correction modes.
This value selects one of the legacy ECC000-140 error correction modes.
This value selects one of the legacy ECC000-140 error correction modes.
This value selects one of the legacy ECC000-140 error correction modes.
Data encoded with this ECC mode is protected by the Reed-Solomon error checking and correction algorithm.
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null