DataMatrix is a two-dimensional
(2D) barcode symbology which can store from 1 to about 2,000 characters.
DataMatrix ECC200 version supports advanced encoding error checking and
correction algorithms (reed-solomon). Those algorithms allow the recognition of
barcodes that are up to 60% damaged.
DataMatrix is being used to encode product and serial number
information on electrical rating plates; to mark of surgical instruments in
Japan; to identify lenses, circuit boards, and other items during
manufacturing.
Barcode Library supports all DataMatrix Formats and the
data represented in the symbol can be compressed using one of following
algorithms.
-
ASCII (0): it is used to encode data that mainly contains ASCII characters (0-127). This is the default encoding format by Barcode Library.
-
C40 (1): it is used to encode data that mainly contains numeric and upper case
characters.
-
Text (2): it is used to encode data that mainly contains numeric and lower case
characters.
-
Base256 (3): it is used to encode 8 bit values.

Sample of a DataMatrix Barcode
Data Matrix Barcode for .NET, ASP.NET supports:
- all 128 characters of ASCII
- Add Reference BarcodeLib.Barcode.dll to your .NET project (ASP.NET website, Forms, any .NET project)
In your .NET class.
BarcodeLib.Barcode.DataMatrix.DataMatrix barcode = BarcodeLib.Barcode.DataMatrix.DataMatrix();
barcode.Data = "your barcode data";
// other barcode settings.
// save barcode image into your system
barcode.drawBarcode("c:/barcode.gif");
* Please set properties
UOB and
Resolution, before you set any image size related properties like ModuleSize, LeftMargin.