Data Matrix Barcode FAQ for Winforms

.NET Barcode Component for .NET Winforms, Data Matrix Barcode Image, Data, and Size Issues
Terrek Barcode for Winforms - Data Matrix Barcode FAQ
Terrek Data Matrix Barcode Generator for .NET Winforms is designed and developed to implement the simplicity of Data Matrix generation in .NET Windows Forms Applications. This mature control generator DLL could be inserted into Winforms thus Data Matrix barcode images could be created on the form.
In this page, more details of the following aspects of Data Matrix barcode generation in .NET Winform are presented:
  • Data Matrix in Winforms Generator - Data Encoding Support
  • Data Matrix in Winforms Generator - Barcode Scaling Support
  • Data Matrix in Winforms Generator - Image Setting Support
  • Data Matrix in Winforms Generator - Solution Projects Support
Terrek also provides more Data Matrix barcode generators for solutions in distinct developing environments, including Data Matrix Office Add-in for Excel, Data Matrix Java Generator, and Data Matrix Crystal Report DLL.
Data Matrix in Winforms Generator - Data Encoding Support
Valid Data of Data Matrix
  • ASCII values 0 - 127, in accordance ISO/IEC 646
  • ASCII characters 128-255, in accordance with ISO 8859-1
Data Matrix Winforms Control Data Mode
Data Matrix Winforms Control encodes above data with the following data modes:
  • DataMatrixDataMode.Auto: Barcode library will decide the best data mode for you.
  • DataMatrixDataMode.ASCII: it is used to encode data that mainly contains ASCII characters (0-127). This is the default encoding format by Barcode Library.
  • DataMatrixDataMode.C40: it is used to encode data that mainly contains numeric and upper case characters.
  • DataMatrixDataMode.Text: it is used to encode data that mainly contains numeric and lower case characters.
  • DataMatrixDataMode.X12:it is used to encode the standard ANSI X12 electronic data interchange characters.
  • DataMatrixDataMode.Edifact: it is used to encode 63 ASCII values (values from 32 to 94) plus an Unlatch character (binary 011111).
  • DataMatrixDataMode.Base256: it is used to encode 8 bit values.
Data Matrix in Winforms Generator - Barcode Scaling Support
Data Matrix Module Width
The smallest unit in a Data Matrix is called module. Data Matrix modules are small squares in dark and light colors. The size of the module is measured by the float value of BarWidth property. Pixel, cm, and inch could be used as the unit of measure.
Format Mode
As QR Code version to QR Code, Data Matrix Format Mode defines how many modules are included in the generated barcode symbol. Square (10X10-144X144) and rectangular (8X18-16X48) arrangements are supported.
Margins Width
Increasing the width of margins around the symbol is one way to enhance the readability of the Data Matrix barcode image. The control library set the left, right, top, and bottom margins separately with float values.
Image Size
If the breakdown parameters are not provided, you can set the width and height of the barcode image directly. Once you enabled the image resize function, you only need to provide the size of entire barcode image. This intelligent Data Matrix will draw the barcode with reasonable parameters. The generated Data Matrix is 100% compatible with ISO / IEC 16022 (2nd edition 2006-09-15).
Data Matrix in Winforms Generator - Image Setting Support
Image Formats
With Terrek Barcode Winforms Control DLL, Data Matrix is created as high quality GIF, JPEG, or PNG graphic images. Tiff and Bitmap are supported as well. Please ensure the accordance of image format and suffix of image file name.
Image Resolution
DPI (Dots per inch) is used commonly as the measure of printing resolution. The resolution of image generated by Data Matrix generator could be managed with DPI.
Image Rotation
In case of any specified requirement of the image orientation, image rotation function is added to the control library. Rotation angles of 90, 180, and 270 degrees are supported.
Data Matrix in Winforms Generator - Solution Projects Support
Data Matrix Barcode Winforms Control could be integrated into the following types of projects:
  • Console Application (runtime support)
  • Windows Forms Application (design-time and runtime support)
  • Class Library (runtime support)
  • Windows Service (runtime support)