IntelliSide.com

Barcode C# > Barcode in C# > Data Matrix

Windows Forms .NET Barcode Generation SDK

How to Integrate Data Matrix Barcode Images in .NET WinForms Application

Data Matrix barcode professional provides easy-to-configure assistant tool for rendering barcode images into Winforms. This .NET component is easy to be used in Visual Basic.NET, C# and Borland Delphi for .NET. Royalty-free license is provided by this barcode generation SDK to acquire source code.
Brief Introduction of Data Matrix
Data Matrix is a two-dimensional barcode symbology which designed in 1989. It is high-density barcode that could encode from 1 up to 2,000 characters. Data Matrix is composed black and white bars arrayed in a square or rectangular pattern.
Data Matrix is able to encode Numeric value from 0 to 127 based on the US national version of ISO/IEC 646 and Numeric value from 128 to 255 based on the US national version of ISO 8859-1 (Extended ASCII).
Features & Benefits of Data Matrix C# .NET WinForms Generator

Supported .NET Tech

The designer and render DLLs provided are 100% managed code in Visual C# .NET with strong name signatures. It is easy to use this barcode generation SDK in C#, Managed C++ and Delphi in .NET. Users could use data binding in Windows Forms applications.

Supported IDE for .NET

This Data Matrix for Winforms is fully compatible with operating systems including Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP. It also works well in .NET Framework 2.0, 3.0, 3.5 or greater. Visual Studio 2005, 2008 and 2010 are supported for rendering Data Matrix images in C# project.

Barcode Generation of Data Matrix in WinForms

Barcode images support: Data Matrix barcode professional supports high-quality images in JPEG, GIF, BMP, PNG, and TIFF formats. You are allowed to choose the orientation in four directions: 0, 90, 180, 270 degrees.
Property setting: Flexible Sizing Options of this barcode generation SDK allow changes of the X, Y-dimension, rotation angle, captions, wide to narrow ratio, margin size and more.
Standard compatibility: Data Matrix created by this barcode generator is keep accordance with ISO / IEC 16022 specification and GS1 Standard for Data Matrix.
Parameters Information of Data Matrix in WinForms

Basic Setting of Data Matrix in C# .NET

"Data" and "Symbology" properties help you to choose barcode type and encoding data. Flexible margin options "MarginLeft", "MarginRight", "MarginTop" and "MarginBottom" allow changes of the left, right, top, and bottom margins of images. "X" and "Y" refer to the width and height of module while "Resolution" refers to image resolution. You could rotate barcode images in 4 angels by setting "Angle.Degree0", "Angle.Degree90", "Angle.Degree180", and "Angle.Degree270" properties.

Colors setting for Data Matrix in C#.NET

"BackgroundColor" allows you to change the background color of the Data Matrix image. While the "ForegroundColor" property helps you adjust the foreground color.

Format setting for Data Matrix in C#.NET

"ImageFormat" property allows users to create barcode images in GIF, BMP, PNG, JPEG/JPG and TIFF formats with high quality.

Special Setting of Data Matrix in C#.NET

Set "EnableTilde" to true, the tilde character "~" could be used to specify special characters in the input data. With "DataMatrixDataMode" and "DataMatrixFormatMode" properties, data could be encoded in 8 data modes and 30 format modes. You are able to encode the GS1 compatible Data Matrix barcode by adjusting "FNC1Mode".
How to Create Data Matrix in C# .NET WinForms Application
There are different ways to implement Data Matrix in C# .NET WinForms Applications.

Data Matrix Drag-and-drop Implementation

You need to show the toolbox once you open C# project in Visual Studio. Click the "Choose Item" button and the Choose Toolbox Items popup window will show up. By click "Browse" button on it, you are able to search and select C#.NET barcode dll now. Find it then click "OK", barcode items will be displayed on the Visual Studio Toolbox Palette. You are able to drag and drop the barcode item to the Windows Forms easily.

Data Matrix C#.NET Classes Implementation

Open your C# project in Visual Studio, and then find the barcode generator for C# .NET. Click "OK" on the Add Reference Dialog after you select the Data Matrix barcode generation dll. Right click the form and select "view code" in the list. Now you are able to generate Data Matrix by adding C# code.
   Copyright 2009 IntelliSide.com. All rights reserved.