Data Matrix Creation using VB.NET in Windows Applications and ASP.NET

Add high quality Data Matrix in VB.NET programs with VB.NET barcode component SDK
Barcode in VB.NET > 2D > Data Matrix
Data Matrix Barcode Generator for VB.NET - Benefits
Easy to Use .NET Barcoding DLL
It is easy to install and add this Barcode .NET dll to Visual Studio reference and generate Data Matrix in VB.NET programs such as VB.NET Winforms applications, VB.NET reporting scenarios such as Crystal Report, VB.NET class library and console applications.
Supported Programming Language
Barcode Library SDK/DLL for VB.NET 100% supports Visual Basic.NET, and compatible with C#.NET, Managed C++ and Borland Belphi for .NET. VB.NET source code is supplied with the purchase of unlimited developer license.
Customizable Barcode Settings
Data Matrix size can be easily modified by adjusting image height, image width, margin size for left, right, top and bottom, etc. Barcode orientation can be presented in 0, 90, 180, or 270 degree. Adjusting resolution in dpi enables users to generate desired barcode that fits to required usage.
Data Matrix Special Settings Support
VB.NET Barcode Generator Library DLL supports all Data Matrix formats, ECI, GS1 FNC1, and special functions like structured append symbols. Support Data Matrix ECC200 generation with advanced encoding error checking and Reed-Solomon algorithms.
Compatible with Latest Barcode Standards
Barcode Control Component DLL for VB.NET generate strictly accurate Data Matrix compatible with ISO / IEC 16022 (2nd edition 2006-09-15). Support GS1 system standard to create GS1 compatible Data Matrix barcodes.
Multiple Barcode Types Supported in VB.NET
Data Matrix Barcode Generator Library SDK for VB.NET - Overview
Visual Basic .NET Data Matrix Barcode Generator is one solution of .NET barcode generation component that is written in Visual Basic.NET. It is a mature and flexible barcode generating control to create & print Data Matrix and other 20+ linear & 2D barcodes in VB.NET programs. In this page, we provide you detailed guide of generating Data Matrix in VB.NET. Free VB.NET sample code is represented.
Data Matrix Introduction
Data Matrix is a high-density, 2D barcode symbology that capable of encoding text, numbers, files and actual data bytes. Data Matrix shapes as square or rectangle that consists of black and white cells. The length of the encoded data depends on the number of cells in the matrix. Data Matrix is often used on small items where a relatively large number of data needs to encode on a relatively small space.
Data Matrix Encodable Character
  • Standard ASCII characters
  • Extended ASCII characters
Data Matrix Barcode Generator SDK for VB.NET - Data Matrix Generation
Print 2D Data Matrix Barcodes in Windows Application using VB.NET
  • Download Terrek.Dotnet.zip, save it in local drive, and unzip;
  • Add Terrek.Barcode.DotNET.dll to the VB.NET Winform project reference;
  • Drag and drop a button to the form, and double-click the button;
  • In the Form1.cs, copy the following VB sample code to the project
Encode Data Matrix Barcodes in ASP.NET Applications using VB.NET
  • 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 with VB code 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 VB code in to the project and run the program.
Generate, Print and Draw Data Matrix using VB.NET Class Libary - Free VB Sample Code
Dim DataMatrix As Terrek.Barcode.DotNET.DotNETControl = New Terrek.Barcode.DotNET.DotNETControl
DataMatrix.Symbol = Terrek.Barcode.BarcodeSymbol.DataMatrix
'Data Matrix valid character set, including standard ASCII and extended ASCII
DataMatrix.BarcodeData = "DataMatrix"
'Data Matrix data mode, including Auto, ASCII, C40, Text, X12, Edifact and Base256
DataMatrix.DataMatrixDataMode = Terrek.Barcode.DataMatrixDataMode.Auto
'Data Matrix format mode, ranging from 8*8 to 144*144
DataMatrix.FormatMode = Terrek.Barcode.DataMatrixFormatMode.Format_36X36
'Data Matrix module width
DataMatrix.BarWidth = 2
' Specify Data Matrix image color
DataMatrix.ImageColor = Color.White
DataMatrix.BarColor = Color.Black
' Specify Data Matrix image
DataMatrix.DotsPerInch = 96
DataMatrix.Rotation = Terrek.Barcode.Rotation.Degree0
DataMatrix.BarcodeFormat = System.Drawing.Imaging.ImageFormat.Jpeg
DataMatrix.SaveAsImage("C:\DataMatrix.jpeg")