Data Matrix .NET Generation Class Library/DLL in C#

Create Data Matrix barcode images in C#.NET|free sample code available
Barcode in C# > 2D > Data Matrix
Data Matrix .NET Barcode Control/SDK for C# - Benefits
Comprehensive Data Matrix Barcode Control
In addition to ease of use, Data Matrix .NET Barcode DLL in C# provided by Terrek.com offers complete guideline and special barcode know-how is not required. Data Matrix Generation DLL offers free C# sample code.
Support Development Environment
Data Matrix C# Class Library helps you create print Data Matrix 2D barcode image in C# Windows Forms applications, Microsoft Visual Studio, C# Crystal Reports document, C#.NET class & console applications.
Support Data Matrix Special Settings
Data Matrix Barcode C# generation DLL offers 7 data modes available include ASCII, Auto, Base256, C40 etc. In addition, it supports 30 formats range from (10X10) to (144X144) and (8X18) to (16X48) to form either a square or a rectangular Data Matrix.
Flexible Barcode Image Setting
Data Matrix could be created in various image formats include Gif, Tiff, Bmp, Png or Jpeg images. .NET programmers are entitled to customize color, resolution and orientation properties of Data Matrix barcode images.
Multiple Barcode Types Supported in C#.NET
Barcode Generation Library for C#.NET - Data Matrix Overview
Data Matrix C# .NET DLL is a powerful and robust barcode generating control to create and print Data Matrix and another 40+ linear & 2D barcodes in Visual C# .NET programs.
Data Matrix Introduction
Data Matrix is a high density 2D barcode symbology which based on the ISO / IEC 16022. It is capable of encoding large amounts of data and is widely used to labeling small items in Pharmaceuticals, electronic component etc.
Data Matrix Encodable Characters
  • 128 ASCII characters
  • Extended ASCII (ASCII characters 128-255, in accordance with ISO 8859-1)
Data Matrix .NET Library/DLL for C#.NET - Data Matrix
Create Data Matrix Barcodes in Windows Application using C#
  • Download Terrek.Dotnet.zip, save it in local drive, and unzip;
  • Add Terrek.Barcode.DotNET.dll to the C# Winform project reference;
  • Drag and drop a button to the form, and double-click the button;
  • In the Form1.cs, copy the following sample code to the project
Add Data Matrix Barcodes in ASP.NET using C#
  • Download Terrek ASP.NET barcode trial and unzip;
  • Add Terrek.Barcode.ASPNET.dll to your project. Do not copy the DLL to the bin directory, Visual Studio will do so automatically;
  • Open your Visual Studio in Web Forms and add Terrek.Barcode.ASPNET.dll to your reference in "Solution Explorer";
  • Go to "Barcode" folder in the trial package, copy files "barcode.aspx" and "barcode.aspx.cs", to the project where aspx barcodes are generated;
  • Right click on the aspx name in "Solution Expolrer" and select "View Code";
  • Copy the sample C# code in to the project and run the program.
Generate Data Matrix in C#.NET - Free C# Sample Code
using Terrek.Barcode;
BarcodeControl barcode = new BarcodeControl();
barcode. Symbol = BarcodeSymbol.DataMatrix;
barcode.BarcodeData = "TerrekDataMatrix";
barcode.DataMatrixDataMode = DataMatrixDataMode.Auto(0);
barcode.FormatMode = DataMatrixFormatMode.Format_10X10 (0);
barcode.BarWidth = 1;
barcode. ImageColor = Color.White;
barcode. BarColor = Color.Black;
barcode.DotsPerInch = 96;
barcode.Rotation = Rotation.Degree0;
barcode.BarcodeFormat = System.Drawing.Imaging.ImageFormat.Png;
barcode.drawBarcode("C:\\data_matrix.png");