KA.Barcode Generator for .NET Suite
How to Generate Data Matrix Image in VB.NET Projects
VB.NET source code to generate, print Data Matrix in different image formats using Barcode for .NET Control
  • Full integration of Data Matrix 2D barcode generating & printing capabilities into VB.NET
  • Programmatically generate and create Data Matrix barcodes in Visual Basic.NET class & console applications
  • Dynamic barcode components, such as Excel barcode & Word barcode, are provided
  • Dynamically encode, print Data Matrix bidimensional barcode images in your VB.NET Web and Windows applications
  • Provide flexible barcode setting options to customize Data Matrix image size, rotation, color,etc.
  • Make, output Data Matrix images and save locally in gif, jpeg, png, tiff, and bitmap/BMP files for ASP.NET
  • Accurate Data Matrix generation complying with ISO / IEC 16022 (2nd edition 2006-09-15)
  • Insert linear and GS1 barcodes , such as Code 39 ASP.NET, ASP.NET Intelligent Mail, Codabar .NET, .NET UPC-A, in your applications
  • Reliable barcode maker control to create GS1 system compatible Data Matrix bar code
VB.NET Data Matrix maker plugin component SDK library is a Data Matrix barcode generation functionality of KA.Barcode Generator for .NET Suite to generate, make Data Matrix in VB.NET projects is really an easy job. This document gives a complete use guide for customize Data Matrix images in VB.NET; for more details of Data Matrix in VB.NET, see:
Windows XP; Window Server 2003; Window Server 2008. Test Environment: Microsoft Windows XP; Microsoft Visual Studio 2005; Visual C#.NET. 1D & 2D...
To your Visual Studio Toolbox; 5. Find Component BarcodeControl in ....
There are many methods of barcode generation in C#.NET: within barcode setting panel, using C#, VB.NET Class, etc. It is allowed ....
Data Matrix Image Setting in KA.Barcode Generator for .NET Suite


  1. 1.
  2. 2.
    Copy KeepAutomation.Barcode.Windows.dll or KeepAutomation.Barcode.Web.dll to your VB.NET project folder
  3. 3.
    Open Microsoft Visual Studio, choose "Add Reference" in "Project"
  4. 4.
    Browse KeepAutomation.Barcode.Windows.dll or KeepAutomation.Barcode.Web.dll
  5. 5.
    Now you will see "KeepAutomation.Barcode.Web" or "KeepAutomation.Barcode.Windows" under your references
Copy those following VB.NET Data Matrix barcoding programs onto you forms:
Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
barcode.Symbology= KeepAutomation.Barcode.Symbology.DataMatrix
barcode.CodeToEncode = "Data Matrix"

Change Data Matrix Barcode Image Resolution

KA.Barcode Generator for .NET Suite is used to display high quality barcode images in Window Applications. The default resolution of Data Matrix generated by KA.Barcode Generator for .NET Suite is 72 DPI. DPI is short for Dots per Inch.
barcode.DPI = 72

Append Several Data Matrix Barcodes into a Structured One

KA.Barcode Generator for .NET Suite allows up to 16 Data Matrix symbols to be reconstructed into a structured format without data information to lose. Users may enable "GroupEnabled" function, and use "GroupItemId" to count the total number of Data Matrix and use "GroupItemCount" to number Data Matrix symbols (Note: it starts with 0). Remember, all the symbols should use the same Group ID.
First Segement:
barcode.GroupEnabled = true
barcode.GroupId = 23
barcode.GroupItemCount = 2
barcode.GroupItemId = 0

Second Segement:
barcode.GroupEnabled =true
barcode.GroupId = 23
barcode.GroupItemCount = 2
barcode.GroupItemId = 1

Set Data Matrix Barcode Image Rotation

KA.Barcode Generator for .NET Suite supports 4 type orientations: 0 degree, 90 degree, 180 degree and 270 degree for the different purpose of users. Users may change Data Matrix barcode image angles using "Orientation" property. The default is Degree0.
barcode.Orientation = KeepAutomation.Barcode.Orientation.Degree180

Adjust Data Matrix Barcode Image format

KA.Barcode Generator for ASP.NET supports most major image format, like GIF, TIFF, JPEG/JPG, BMP, PNG, to save Data Matrix barcode image in your ASP.NET applications. User may change image format within "ImageFormat". The default is "Gif".
barcode.ImageForamt = ImageFormat.Gif