Home  >  .NET Windows Forms Barcode Component  >  .NET WinForms Barcoding Tutorial  >  Create Data Matrix Using .NET WinForms Barcode Generator DLL
.NET WinForms Data Matrix Barcode Generator SDK & DLL
.NET Windows Forms Data Matrix Barcode Generator SDK & DLL compiles strong Data Matrix barcode generating features into an easy-to-use barcoding library. It is used to add, generate, or create Data Matrix barcodes using .NET WinForms barcode control in C# and VB.NET WinForms projects.
Overview - .NET WinForms Data Matrix Barcode Generator SDK & DLL
This .NET Windows Forms Data Matrix Barcode DLL Class Library help .NET developers integrate the Data Matrix barcode generation features into .NET projects. Developed in .NET framework 2.0, this .NET Windows Forms Data Matrix Barcode control is easy to use and supports most popular .NET Development Tools like Microsoft Visual Studio2005/2008/2010 and Express Editions.
Related barcode creating solutions for generating Data Matrix image in .NET developing projects:
Features of .NET Data Matrix Barcode Generator Windows Forms Control
Data Matrix Barcode Images Generated by .NET WinForms Barcoding Control
View more about Data Matrix Barcode Properties of .NET Windows Forms Barcode Generator Library
.NET Windows Forms Barcode Generator Control - Developer Guidance

How to Generate Data Matrix Barcode in .NET WinForms Controller

  1. Add KeepDynamic.BarCode.Windows.dll to your Windows Forms project and Visual Studio toolbox
  2. Drag & drop DataMatrixControl to your .NET WinForms project and a standard Data Matrix barcode image is generated
  3. Select created Data Matrix barcode and adjust its settings in the Properties Window

How to Generate Data Matrix Barcode in .NET WinForms Classes

  1. Add KeepDynamic.BarCode.Windows.dll to your Windows Forms project
  2. Copy following C# or VB.NER class code to your .NET WinForms project
Generate Data Matrix Barcode in .NET WinForms project using C# code
// Create Data Matrix barcode object in C#
DataMatrix barcode = new DataMatrix();

// Enter encodable value for Data Matrix barcode using C#
barcode.CodeText = "Data Matrix in C#";

// Set Data Matrix barcode size-related properties
barcode.X = 3;
barcode.TopMargin = 3;
barcode.BottomMargin = 3;
barcode.LeftMargin = 3;
barcode.RightMargin = 3;

//Customize unique barcode setting of Data Martrix
barcode.DataMode = DataMatrixDataMode.Auto;
barcode.FormatMode = DataMatrixFormatMode.FM_52X52;

// Set Data Matrix drawing image format to PNG in C#
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif;

// Generate Data Matrix barcode & encode to the png image in C#
barcode.drawBarcode("C://barcode-datamatrix-csharp.gif");
Generate Data Matrix Barcode in .NET WinForms project using VB.NET code
' Create Data Matrix barcode object in C#
Dim barcode As New DataMatrix()

' Enter encodable value for Data Matrix barcode using C#
barcode.CodeText = "Data Matrix in C#"

' Set Data Matrix barcode size-related properties
barcode.X = 3
barcode.TopMargin = 3
barcode.BottomMargin = 3
barcode.LeftMargin = 3
barcode.RightMargin = 3

'Customize unique barcode setting of Data Martrix
barcode.DataMode = DataMatrixDataMode.Auto
barcode.FormatMode = DataMatrixFormatMode.FM_52X52

' Set Data Matrix drawing image format to PNG in C#
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif

' Generate Data Matrix barcode & encode to the png image in C#
barcode.drawBarcode("C://barcode-datamatrix-csharp.gif")
More Data Matrix Barcode Generation Tutorial: Add barcode creating features into .NET projects using .NET Windows Forms barcode control
.NET Windows Forms Barcode Generator Supported Barcode Types