BizCode Barcode Generator for .NET Ultimate
The most robust & powerful barcode generating SDK for Microsoft .NET Framework
Quick Overviews
  • Powerful barcode creating DLL
  • Completely run in VB.NET
  • 100% sample code provided
  • Multiple barcode formats
  • Full controls provided
How to Generate Data Matrix images in VB.NET
VB.NET Data Matrix Generator is a mature and powerful barcode creating class library with flexible developer licenses provided. It is easy and simple to integrate dynamic Data Matrix images into .NET applications with Visual Basic.NET.
Data Matrix images generated by VB.NET Data Matrix Generator are highly customizable. VB.NET Data Matrix Generator images in GIF, PNG, JPEG, TIFF, and BMP. Resolution of the image is flexible in DPI. You can also rotate the image to 90, 180, and 270 degrees in VB.NET. This product requires minimum Data Matrix and provides a set of Data Matrix generation guide for you; please see:
Data Matrix Image Related Properties

GS1 Data Matrix

Barcode property FNCIMode is provided by Barcode Generator for .NET Ultimate for users to generate and print GS1 compatible GS1 barcode.

Structure Append

Image property StrutureAppend is provided by Barcode Generator for .NET Ultimate for users to link up to 16 Data Matrix symbols in order to encode larger quantities of data.

Barcode Resolution

Image property Resolution is provided by Barcode Generator for .NET Ultimate for users to describe Data Matrix barcode resolution in dots per inch.

Barcode Rotation

Image property Rotate is provided by Barcode Generator for .NET Ultimate for users to change the rotated angle of Data Matrix barcode into 0, 90, 180 and 270 degrees.

Image Formats

Image property ImageFormat is provided by Barcode Generator for .NET Ultimate for users to draw and save Data Matrix barcode into dynamic image file formats, such as Png, Jpeg/Jpg, Gif, Tiff, Bmp, etc.

VB.NET Graphic Objects

Image property DrawBarcode is provided by Barcode Generator for .NET Ultimate for users to output Data Matrix barcode into VB.NET Graphics, Stream and Bitmap objects.
Customize Data Matrix Barcode Images in VB.NET
Make sure that your have installed those programs before you specify Data Matrix image in VB.NET:
Customize Data Matrix Barcode Images in .NET Project Using VB.NET Class
Copy those following code onto your VB.NET projects:
Dim barcode As BusinessRefinery.Barcode.DataMatrix = 
New BusinessRefinery.Barcode.DataMatrix()
barcode.Code = "0123456789"
barcode.drawBarcode2ImageFile("c:/data-matrix-vb-net.gif")
Change Data Matrix Resolution in DPI
In Barcode Generator for .NET Ultimate, the default value of Resolution is 72 dpi.

Copy those following code to change your resolution:
barcode.Resolution = 104
Adjust Data Matrix Barcode Quiet Margin
In Barcode Generator for .NET Ultimate, the default value of BottomMargin, TopMargin , LeftMargin and RightMargin are 0 respectively.

Copy those following code to change your quiet margin size:
barcode.BottomMargin = 7
barcode.TopMargin = 7
barcode.LeftMargin = 5
barcode.RightMargin = 5
Change Data Matrix Image Rotation
In Barcode Generator for .NET Ultimate, the default value of Rotate is Rotate.Rotate0.

Copy those following code to change your image rotation angle:
barcode.Rotate = Rotate.Rotate180
Generate Mutilpe Data Matrix barcode with Structure Append
In Barcode Generator for .NET Ultimate, the default value of StructureAppend is false. And SymbolCount, SymbolIndex and Parity default value are 0 respectively.

Copy those following code to make multiple Data Matrix barcodes:
barcode.StructureAppend = true
barcode.SymbolCount = 3
barcode.SymbolIndex = 0
barcode. = 10
barcode.SymbolCount = 3
barcode.SymbolIndex = 1
barcode.Parity = 10
barcode.SymbolCount = 3
barcode.SymbolIndex = 2
barcode.Parity = 10
Save Data Matrix in Multiple Image Formats
In Barcode Generator for .NET Ultimate, the default value of is gif.

Copy those following code to change your image format:
barcode.Format = ImageFormat.Png;
barcode.drawBarcode2ImageFile("c:/ean-128-csharp.Png")
Users may change image format into gif, png, tiff, jpeg, png; or save it as VB.NET graphic objects:
Public Sub drawBarcode2Stream(ByVal fileStream As System.IO.Stream)
Public Sub drawBarcodeOnGraphics(ByVal graphics As
System.Drawing.Graphics)
Public Function drawBarcodeAsBytes() As Byte()
Public Function drawBarcodeOnBitmap() As System.Drawing.Bitmap