[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDataMatrix

IDataMatrix Interface

Represents a DataMatrix barcode value returned from a worksheet cell.

DataMatrix barcode is a high-density, two-dimensional barcode with square modules typically arranged in a square or rectangular matrix pattern. In addition to the common barcode properties defined by IBarcode, this interface provides access to DataMatrix-specific settings such as the ECC mode, symbol size, encoding mode, and structured append information.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface IDataMatrix : IBarcode
Public Interface IDataMatrix
    Inherits IBarcode
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;

Properties

Name Description
Ecc00140SymboleSize

Gets the size of the ECC000-140 symbol.

This value corresponds to the ECC000-140 symbol size specified for the DataMatrix barcode.

Ecc200EndcodingMode

Gets the ECC200 encoding mode.

This value specifies the encoding mode string used by a DataMatrix barcode when the ECC mode is ECC200.

Ecc200SymbolSize

Gets the size of the ECC200 symbol.

This value specifies the symbol size string used by a DataMatrix barcode when the ECC mode is ECC200.

EccMode

Gets the error correction mode.

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

FileIdentifier

Gets the file identifier of a related group of structured append symbols.

This property applies to ECC200 structured append symbols. The valid file identifier value is within the range [1, 254]. A value of 0 indicates that the file identifier is calculated automatically.

StructureAppend

Gets a value indicating whether the current symbol is part of structured append symbols.

Structured append is only supported by ECC200.

StructureNumber

Gets the structure number of the current symbol within the structured append symbols.

This property is used only when the ECC mode is ECC200.