Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET Barcode > VB.NET Barcode Generation Guide > VB.NET Data Matrix Barcode Library Tutorial
Download Barcode for .NET Suite Trial

Data Matrix VB.NET Generator Component

How to Create Data Matrix Barcodes Images in .NET with VB
  • Strictly designed and tested SDK for Data Matrix barcode generation in VB.NET
  • Perfect integration with .NET Framework applications like ASP.NET and WinForms
  • Easy to use, without registration code, activation key or other barcode fonts
  • Adjust Data Matrix barcode image settings with simple VB.NET class library
  • Offer user-friendly guidance for Visual Basic.NET Data Matrix barcoding
  • Obtain granted developer license for VB.NET Barcode Control at reasonable price
VB.NET Data Matrix Barcode Image Overview
Data Matrix is a high-density 2D Barcode type whose image looks like a square. Similar to other 2D barcodes, Data Matrix can encode many types of data, including alphanumeric data, byte data and numeric data.
In the real society, Data Matrix has been used in the following sectors like aerospace, defense, healthcare, finance, logistics management, Electronic Industries etc.
Guide to Generate Data Matrix Barcodes in VB.NET Class
Our VB.NET Data Matrix Barcodes Generator DLL allows users to generate Data Matrix in ASP.NET Class. The following are detailed steps:
  1. Add Barcodelib.Barcode.ASP.NET.dll to your web project.
  2. Add Barcodelib.Barcode.ASP.NET.dll to the Toolbox.
  3. Use the following free C# sample codes to create Data Matrix 2d barcode.
     Dim datamatrix As New BarcodeLib.Barcode.DataMatrix()
datamatrix.Data = "1dfefg%^7fdsg56566"

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

' More Data Matrix barcode settings are also supported, like image color, width, height, rotation, etc

' Encode Data Matrix barcode & output to byte array
byte[] barcodeInBytes = datamatrix.drawBarcodeAsBytes()

' Encode Data Matrix barcode to Graphics object
Graphics graphics = ...

' Encode Data Matrix barcode and output to HttpResponse object
HttpResponse response = ...

' Encode Data Matrix barcode and output to Stream object
Stream stream = ...
Above Data Matrix sample code is coded in Visual Basic
Guide to Create Data Matrix Images in VB.NET ASP.NET Web Project
  1. Add Barcodelib.Barcode.ASP.NET.dll to your web project.
  2. Add Barcodelib.Barcode.ASP.NET.dll to the Toolbox.
  3. Copy files "datamatrix.aspx" & "datamatrix.aspx.cs" from the folder barcode in the downloaded trial package to the folder where your web project is located.
  4. Drag DataMatrixASPNET from the toolbox to the split part of your aspx page, and then customize Data Matrix in the Properties window or with above VB source code.
Guide to Generate Data Matrix Barcodes in VB.NET WinForms Project
  1. Add BarcodeLib.Barcode.WinForms.dll from the downloaded trial package to your .NET Windows Forms Project.
  2. Add BarcodeLib.Barcode.WinForms.dll to your Visual Studio Toolbox.
  3. You can simply drag the QRCodeWinForm to your windows form, and a QR Code barcode is generated.
  4. Drag DataMatrixWinForm to your windows form and a Data Matrix barcode will be produced or you could use above VB demo code to create Data Matrix.
Other Barcodes Supported by Data Matrix VB.NET Barcode Generator
VB.NET Linear Barcodes:
VB.NET Matrix Barcodes:
Data Matrix Barcode Library for C# - Generates Linear Barcodes: Codabar, Code 11, Code 2 of 5, Code 39, Code 93, Code 128, EAN 8, EAN 13, EAN 128, Interleaved 2 of 5, ITF14 (UPC Shipping Container Symbol), MSI Plessey, OneCode, Planet, Postnet, RM4SCC (British Royal Mail 4-State Customer Barcode), UPC-A, UPC-E.
Data Matrix Barcode Control for C# - Generates 2D Barcodes: Data Matrix, PDF417, QR Code.