[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDataMatrix.EccMode

EccMode Property

EccMode

Gets the error correction mode.

This value specifies the error correction mode used by the current DataMatrix barcode, such as ECC000 or ECC200.

Declaration
EccMode EccMode { get; }
ReadOnly Property EccMode As EccMode
Examples
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;