C# code for generating Data Matrix barcode for .NET projects


New member
Dec 10, 2012
Programming Experience
KeepDynamic’s Data Matrix Barcode control is an easy to use 2D barcode creation libary. By using the Data Matrix Control, you can easily add the Data Matrix barcode image creating features into your .NET projects in C#.NET. This 2D barcode generator control is entirely developed in C#.NET and support .NET 2.0 and greater versions. You can use the below advanced features after integrating this 2D barcode component into your .NET projects.

  • Create quality Data Matrix barcode in .NET projects using C#
  • Export Data Matrix barcodes in jpg, gif, png, and bmp image formats
  • Generate Data Matrix barcode in dynamic width(X) and height(Y), which allow users put the dynamic barcodes in a specific field.
  • Flexible barcode resolution support let you print accurate Data Matrix barcodes on low resolution printers as well as on high resolution ones
  • Generate Data Matrix barcode in 0, 90, 180, and 270 degrees
  • Compatible with the latest Data Matrix 2D barcode standards

To create Data Matrix barcode in C#.NET, please download the Data Matrix control and using the below C# code.

using KeepDynamic.Barcode.Generator;

DataMatrix barcode = new DataMatrix();
barcode.CodeText = "Data Matrix in C#";
barcode.Format = ImageFormat.Png;
Top Bottom