How to Generate Data Matrix in VB.NET Application

How to Create 2D Data Matrix Barcode Image in VB.NET Application
  • Compatible with latest GS1 specifications to generate standard Data Matrix barcodes
  • Absolutely support .NET Framework 2.0, 3.0, 3.5 and above versions
  • Easy to generate Data Matrix barcode images in Visual Basic .NET programming
  • Add Data Matrix barcode images in ASP.NET websites, WinForms, Crystal Report, etc
  • Provide flexible Data Matrix barcode options like width, height, color, resolution, font, etc.
  • Mature and reliable .NET barcode generator component library used world widely
  • Offer royalty-free developer license for this VB.NET Barcode Generator Control
Data Matrix Barcode Control Introduction in VB.NET
KA.Barcode Generator for .NET Suie is the best available barcode encoder component for high-quality Data Matrix barcode generation in .NET development environments. With the user-friendly interface, developers can easily adjust various barcode dimensions of the generated Data Matrix picture, such as bar with, image height, format mode, etc. Download KA.Barcode for .NET Suite evaluation package for free.
Data Matrix Barcode Introduction
Data Matrix, also named as ECC200 & 2D DataMatrix barcode, is a two-dimensional matrix barcode commonly used to mark small items. Being space-efficient, Data Matrix is recommended by American EIA for labeling small electronic components.
KeepAutomation's software supports the following Data Matrix barcode data formats:
  • ASCII: All ASCII characters, including 0-9, A-Z, a-z and special characters like $ , % + / : * etc
  • Auto: KeepAutomation's software will select proper data format according to your encoding value
  • Base256: to encode images, double-byte characters, binary data and 8 bit values
  • C40: numeric digits 0-9, upper-case letters A-Z
  • Edifact: 0-9, A-Z, many punctuation marks
  • Text: 0-9, a-z
  • X12: 0-9, A-Z, and some punctuation marks
How to Stream Data Matrix in ASP.NET with VB Class
Data Matrix barcode generation in ASP.NET web application can be realized with this barcode control, with which you can also generate Data Matrix barcode image in IIS. For detailed information, you may refer to this ASP.NET barcode creation tutorial in VB.NET.
How to Add Data Matrix in .NET WinForms with VB Class
It is easy to generate Data Matrix barcode image in .NET WinForms with this mature VB.NET Barcode Creator Control. This VB.NET barcode generation guide in WinForms have described the operation steps in detail.
How to Create Data Matrix in Crystal Reports with VB Class
Users can also use this .NET barcode component to generate Data Matrix barcode image in Crystal Reports. VB.NET programming is applied to generate Data Matrix barcode in Crystal Reports and no barcode fonts or third party tools are required. For details, please refer to developer guide for VB barcode generation in Crystal Reports.
How to Insert Data Matrix in RDLC Reports with VB Class
Data Matrix barcode generated with this .NET Barcode Generator SDK is completely compatible with latest Data Matrix barcoding standards. If you are willing to generate standard Data Matrix barcode image, please view this tutorial for barcode creation in RDLC Reports with VB sample code.
How to Generate Data Matrix Using VB.NET Sample Code
Users are allowed to use the following VB sample code to generate Data Matrix barcode image in .NET applications. They can also make some adjustment to the generated barcode image by resetting Data Matrix barcode properties. But users need to download this barcode control and add it to project reference at first.
VB Sample code
     Dim datamatrix As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
datamatrix.Symbology = KeepAutomation.Barcode.Symbology.DataMatrix

'Data Matrix format mode, FM10X10 - FM144X144 supported.
datamatrix.DataMatrixFormatMode = KeepAutomation.Barcode.DataMatrixFormatMode.FM_12X12

'Data Matrix data mode, supporting ASCII, Auto, Base256, C40, Edifact, Text, X12.
datamatrix.DataMatrixDataMode = KeepAutomation.Barcode.DataMatrixDataMode.Auto

'Set Data Matrix valid input: All ASCII characters, including 0-9, A-Z, a-z, special characters. Length: variable.
datamatrix.CodeToEncode = "vbDataMatrixGenerator"

'Data Matrix unit of measure: pixel, cm and inch
datamatrix.BarcodeUnit = KeepAutomation.Barcode.BarcodeUnit.Pixel
'Data Matrix image resolution in dpi
datamatrix.DPI = 72

'Data Matrix image size settings

'Data Matrix bar module width (X dimention), default is 1 pixel.
datamatrix.X = 3
'Data Matrix bar module height (Y dimention), Y=X
datamatrix.Y = 3
'Data Matrix image margin size, minimum value is X on all four sides according to specification.
datamatrix.LeftMargin = 3
datamatrix.RightMargin = 3
datamatrix.TopMargin = 3
datamatrix.BottomMargin = 3

'Generate and save Data Matrix in Png, Jpeg, Gif, Bmp, Tiff image formats.
datamatrix.ImageFormat = Drawing.Imaging.ImageFormat.Png
VB - Web Data MatrixVB - Windows Data MatrixVB - Crystal Data MatrixVB - RDLC Data MatrixVB - Data MatrixUsing C#Using VB.NETPDF417 for VB.NETQR Code for VB.NETmoreCodabar for VB.NETCode 39 for VB.NETCode 128 for VB.NETEAN-8 for VB.NETEAN-13 for VB.NETEAN 128 for VB.NETIntelligent Mail for VB.NETInterleaved 2 of 5 for VB.NETISBN for VB.NETITF-14 for VB.NETRM4SCC for VB.NETUPC-A for VB.NETUPC-E for VB.NETmore
KeepAutomation provides complete barcode automation solutions for add barcode display 2-dimensional, barcode generation capacity api, and barcode mobile applications. We recommend the customers use high quality ASP.NET html5 document viewer, c# pdf sdk, C# merge PDF files, Split PDF in C#, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from