.NET Barcode Generator
for Windows Forms Application
Winforms .NET Barcode Generation SDK
Barcode .NET WinForms > Barcode in .NET WinForms > Data Matrix > Barcode Info > Data Matrix Size
Barcode Size
2D Barcode in .NET WinForms
Data Matrix in .NET WinForms
PDF417 in .NET WinForms
QR Code in .NET WinForms
How to Set Data Matrix Image Size using Barcode Library/SDK for Windows Forms
Generate Barcodes with Customized Size using Winforms Data Matrix Barcode Library
Adjust Data Matrix Barcode Images Size using Winforms Barcode Library /SDK
Data Matrix Winforms Barcode Library/SDK helps users to generate and print Data Matrix with target size in ASP.NET applications using Visual Basic & C# class library. Purchased version includes C# source code to the barcode images generator.
Dynamic Data Matrix barcodes could be easily generated in Windows Forms, ASP.NET, SQL Reporting Services, Native Crystal Reports etc. using .NET barcode generators provided on Aspper.com.
Data Matrix Size Setting in Windows Forms using C#, VB.NET Codes

Set up Requirements

Once installed, the Data Matrix Windows Forms barcode generation library/SDK could be sized and parameters can be set to meet required specifications. Make sure installation completed before barcode generation:

Download & Installation

Aspper.com provides complete tutorial and step-by-step instructions on how to install and use barcode generator/library for Windows Forms. Details please refer to the Winforms barcode control tutorial guide:
  1. Download Winforms evaluation package for free and unzip it on developer's computer
  2. Add reference: Add "Aspper.win.matrixbarcode.dll" to Winforms application reference
  3. Add to toolbox: To add "WinMatrix" to your Visual Studio toolbox
Data Matrix Size Setting Related Properties
It is easy to generate and add Data Matrix barcode in Windows Forms application and adjust size through C# or VB.NET barcode codes in Visual Studio 2005 or 2008. Detailed properties please refer to:

Data Matrix Special

DataMatrixFormatMode --- Set the target Data Matrix barcode format mode. Valid values are from 0 (10X10) to 24 (144X144) and from 25 (8X18) to 30 (16X48) to form a square or rectangular barcode images.

Basic Size Setting

Resize --- Data Matrix barcode size can be resize if manual setting does not meet its barcode specification when you set this property to true.
BarcodeHeight --- Modify Data Matrix barcode height using C#, VB.NET codes.
BarcodeWidth --- Set Data Matrix width of the entire barcode image.
X --- Set Barcode module width (narrow bar).
Y --- Set the linear barcode bar height / 2D barcode module height.
BarWidth_X --- Adjust the width of the barcode narrowest bar.
BarHeight_Y --- Customize the height of the Data Matrix barcode bar.
HoriBarAlignment --- Using this property to set bar alignment of barcode. Valid values are Center, Left, and Right.
MeasurementUnit --- Modify unit of measure for Data Matrix barcode property. Valid values are Cm, Inch, and Pixel.

Margin Setting

BottomMargin --- Set Data Matrix barcode top margin using C# or VB.NET codes.
LeftMargin --- Using this property to set width of the barcode left margin of Data Matrix.
RightMargin --- Set width of the Data Matrix barcode right margin using .NET barcode control.
TopMargin --- Using the parameter to adjust height of the Data Matrix barcode top margin using C# or VB.NET class library.