Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET WinForms Barcode > Windows Forms Barcode Generation Guide > Data Matrix .NET WinForms Barcode Generation Guide
Download Barcode for .NET WinForms Trial

Data Matrix .NET WinForms Barcode Generator

How to Generate Data Matrix Barcodes in .NET Windows Forms Project
  • Excellent .NET WinForms Data Matrix Generator, perfectly built in C# class
  • Widely used by .NET users to develop Windows Forms Data Matrix generation application
  • Create high print-quality Data Matrix compatible with industry standards
  • Offer useful user-oriented guidance in .NET code programming process
  • Draw and save Data Matrix barcode in image file and .NET WinForms project memory
  • Plenty of property settings for Data Matrix 2D barcode creation on .NET Windows Forms
  • Supports other main 2D barcodes generation in .NET, like QR Code and PDF-417
Data Matrix Barcode .NET WinForms Overview
Data Matrix, a widely-used 2D barcode, can encode many types of data like alphanumeric data, byte data and numeric data. Besides, its strong error correction ability also helps it become popular in fields like finance, defense and logistics management. And all images created by our .NET WinForms Generator are absolutely under the guidance of IEO/IEC 16022-2006.
Install Data Matrix .NET WinForms Barcode Generator DLL
  1. Add Barcodelib.Barcode.WinForms.dll to project reference.
    • Right click "Add Reference..." in "Solution Explorer" and find Barcodelib.Barcode.WinForms.dll in the downloaded trial.
    • Then click "OK".
  2. Add Barcodelib.Barcode.WinForms.dll to the toolbox.
    • Right click in Toolbox and select "Choose Items..." and then locate Barcodelib.Barcode.WinForms.dll in the pop-up window.
    • Then you could see the similar picture on toolbox.

Generate Data Matrix Barcode in .NET Windows Forms Program
After you finish the installation (as is described in the above section), you could just drag the DataMatrixWinForm from the toolbox and drop it on your .NET Windows Form. Then you could adjust the settings of produced Data Matrix barcode on the Properties Window if needed.
Use C# or VB Programming to Create Data Matrix in .NET WinForms
You could also generate Data Matrix barcodes through C# or VB programming. The following are some free demos.
     BarcodeLib.Barcode.DataMatrix datamatrix = new BarcodeLib.Barcode.DataMatrix();
datamatrix.Data = "1dfefg%^7fdsg56566";

datamatrix.BackgroundColor = System.Drawing.Color.White;
datamatrix.ModuleSize =6;
datamatrix.RightMargin = 6;
datamatrix.drawBarcode("c:/datamatrix.jpeg");
These Data Matrix demo codes are compiled in Visual C# 2005 View Detail Data Matrix C#.NET Demo Code
     Dim datamatrix As New BarcodeLib.Barcode.DataMatrix()
datamatrix.Data = "1dfefg%^7fdsg56566"

datamatrix.BackgroundColor = System.Drawing.Color.White
datamatrix.ModuleSize = 6
datamatrix.RightMargin = 6

' Save Data Matrix barcode image into your system
datamatrix.drawBarcode("c:/datamatrix.jpeg")
These Data Matrix demo codes are compiled in Visual Basic View Detail Data Matrix VB.NET Demo Code
Data Matrix .NET WinForms Barcode Generator Supported Barcode
WinForms 1D Barcodes:
WinForms 2D Barcodes:
.NET WinForms Barcode Generator SDK Supports 1D Barcodes: Codabar, Code 11, Code 2 of 5, Code 39, Code 128, Code 93, EAN 8, EAN 13, EAN 128/GS1 128, Interleaved 2 of 5, ITF14, MSI Plessey, Intelligent Mail (OneCode), Planet, Postnet, RM4SCC (British Royal Mail 4-State Customer Barcode), UPC-A, UPC-E.
.NET WinForms Barcode Generator SDK Supports 2D Barcodes: Data Matrix, PDF 417, QR-Code.



See Also: Related Barcoding Tutorials

.NET Windows Forms Visual C# & Visual Basic Barcoding Tutorials