VB.NET Data Matrix Generator Library SDK
Integration & Developer Guide of Data Matrix Barcode Generation in VB.NET
"Thanks for your great work! For me, the most significant thing is that our users are really impressed with our .NET project."
- Vasko Klasevski, Australia
Generate 2D barcode Data Matrix images in Visual Basic .NET with complete sample VB.NET source code
- Generate, create Data Matrix and
GS1 Data Matrix
in Visual Basic .NET applications
- Easy to install & integrate 2d barcode Data Matrix generation library SDK into VB.NET developments
- Generate over 30 linear, 2d barcode images in VB.NET including VB.NET QR Code, VB.NET EAN, VB.NET UPC, VB.NET Code 39, VB.NET Code 128
- Generate Data Matrix images in VB.NET class library
- Create barcode Data Matrix in VB.NET ASP.NET web application, webform, webpage
- Print Data Matrix barcode in VB.NET Windows Form project
- Draw Data Matrix in SQL Server Reporting Services (SSRS) & Crystal Reports for .NET projects
- Easy to encode Data Matrix images to jpeg, gif, png, tiff, bitmap files in VB.NET program
VB.NET Data Matrix Generator Introduction
Top
Data Matrix, also known as Data Matrix ECC200, is great 2-dimensional matrix barcode to store different data up to 2,335 alphanumeric characters.
Using
VB.NET Data Matrix Generator to create Data Matrix barcodes in VB.NET program is a simple and easy job. VB.NET Data Matrix Generator control is easy to install with a single
.NET Barcode generation control. It is easy to generate Data Matrix barcodes in VB.NET class with detailed
VB.NET Data Matrix settings document and complete demo for Data Matrix generation in VB.NET provided in this article.
Data Matrix Generators
Create Data Matrix Barcodes in VB.NET
Top
Creating Data Matrix barcode in VB.NET class example:
Imports OnBarcode.Barcode
Dim barcode As DataMatrix = New DataMatrix
' Data Matrix Barcode Basic Settings
barcode.Data = "112233445566"
barcode.DataMode = DataMatrixDataMode.ASCII
' if your selected format mode doesnot have enough space to encode your data,
' the library will choose the right format mode for you automatically.
barcode.FormatMode = DataMatrixFormatMode.Format_48X48
' Set the ProcessTilde property to true, if you want use the tilde character "~"
' to specify special characters in the input data. Default is false.
'
' 1) 1-byte character: ~0dd/~1dd/~2dd (character value from 000 ~ 255);
' ASCII character '~' is presented by ~126;Strings from "~256" to "~299" are unused
' modified to FS, GS, RS and US respectively.
' 2) 2-byte character (Unicode): ~6ddddd (character value from 00000 ~ 65535)
' Strings from "~665536" to "~699999" are unused
' 3) for GS1 AI Code:
' ~ai2: AI with 2 digits
' ~ai3: AI with 3 digits
' ~ai4: AI with 4 digits
' ~ai5: AI with 5 digits
' ~ai6: AI with 6 digits
' ~ai7: AI with 7 digits
' 4) ECI: ~7dddddd (valid value of dddddd from 000000 to 999999)
' 5) ~rp: Reader Programming (for ASCII mode and Auto mode only)
' 6) ~m5: 05 Macro (for ASCII mode and Auto mode only)
' 7) ~m6: 06 Macro (for ASCII mode and Auto mode only)
barcode.ProcessTilde = True
' Barcode Size Related Settings
barcode.UOM = UnitOfMeasure.PIXEL
barcode.X = 3
barcode.LeftMargin = 0
barcode.RightMargin = 0
barcode.TopMargin = 0
barcode.BottomMargin = 0
barcode.Resolution = 96
barcode.Rotate = Rotate.Rotate0
' Image format setting
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()
barcode.drawBarcode("c://data-matrix.gif")
VB.NET Barcode Generators Demo Source Codes
Top
Barcode Control for VB.NET - Bar Code Type Generation