Add Data Matrix 2D barcode making function into .NET application using C# barcode SDK
C# Barcode Generator for Data Matrix Creation
  • Professional barcode component for .NET 2.0/3.0/4.0
  • Generate QR Code, UPC/EAN, Code 128, ISBN, and more in .NET
  • Support VB.NET, C#, Managed C++ and Borland Delphi for .NET
Barcode in C# > 2D > Data Matrix
Generate Data Matrix Barcode using C# Barcode Component
  • Enable .NET applications to generate Data Matrix barcode images
  • Create extremely accurate Data Matrix based on ISO / IEC 16022
  • Support PNG, BMP, GIF, JPEG, TIFF and multipage TIFF image formats
  • Allow drag and drop & C# .NET classes implementation methods
  • C#.NET source code available in purchased version
  • Provide strong named 100% managed code created in Visual C#
  • Completely developed in C#.NET 2.0/3.0/3.5/4.0
  • Robust barcode library with royalty free and perpetual license
Data Matrix .NET Generator Control for C#.NET enables Data Matrix images to be created and drawn in WinFroms applications. Users could create Data Matrix by writing C# codes or directly dragging and dropping barcode items to the Form. Parameters like X-dimension, barcode height, margins etc. are allowed to be adjusted to achieve desired performance.
Data Matrix Barcode Generator DLL for C#.NET:
  • Windows Forms Application (design-time and runtime support)
  • Console Application (runtime support)
  • Class Library (runtime support)
  • Windows Service (runtime support)
Data Matrix Barcode Library for C#.NET - Data Matrix Specifications
Data Matrix is a 2D barcode symbology which was designed in 1989. It could encode high-density data in a small square, and Data Matrix is able to encode all 128 characters of ASCII as well as some extended ASCII characters. Comparing other 2D barcodes, Data matrix is a space efficient barcode which is more compact. Data Matrix is defined by the ISO/IEC 16022:2006.
Valid character set of Data Matrix component for C#.NET:
  • All 128 characters of ASCII
  • Values 128-255 in accordance with ISO 8859-1. There are referred to as extended ASCII
Data Matrix Barcode Component for C#.NET - Data Matrix Generation


Before Data Matrix Generation in Windows Forms applications, make sure you complete the installation of:
  • Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 or Windows XP
  • .NET Framework 2.0, 3.0, 3.5 or greater
  • Microsoft Visual Studio 2005/2008/2010
  • Avapose.Barcode for .NET

Generate and print Data Matrix barcode in an image using C# barcode creator component

  1. Start Visual Studio and open your C# project;
  2. Download & unzip Avapose.Barcode for .NET trial package;
  3. Navigate to the Avapose.matrixbarcode.winforms.dll and add it to the Winforms project reference;
  4. Drag and drop a button to the form, and double-click the button;
  5. Write the C# code samples below;
  6. Debug it, Data Matrix barcode image will be shown on the Form.

using Avapose.matrixbarcode;

Matrix Barcode = new Matrix();
Barcode.MatrixBarcode = MatrixBarcode.DataMatrix;

Barcode.DataMatrixDataMode = DataMatrixDataMode.Auto;

Barcode.BarcodeData = " Avapose.Barcode.Winforms.(DataMatrix)";
Barcode.DataMatrixFormatMode = DataMatrixFormatMode.Format_10X10;



// create and draw to image file
public void DrawBarcodeImage (string filename);

// create, draw, paint barcode on Graphics object
public void DrawBarcodeImage (Graphics graphics);

// create, draw, paint barcode on Bitmap object
public Bitmap DrawBarcodeImage ();

// create, draw, paint barcodeon Stream object
public void DrawBarcodeImage (Stream fileStream);

// create, draw, paint barcode on byte[] object
public byte[]DrawBarcodeImage AsBytes();

Related Data Matrix Barcode Integration & Generation Information
The following Data Matrix barcode integration and creation information links relate to this product that may be of interest to you:
Testimonial for Barcode Generation SDK for C# .NET
We bought your product Barcode Generator for C#.NET a few weeks ago, and it works pretty well!
Carlos Louis, Eureka Software Ltd, UK.