Code 128 .NET Barcode Generator/Library for C#.NET
Code 128 Barcode Generator in C#.NET - Overview
Code 128 .NET barcode generator/library is a barcode image generator for C# .NET projects in Windows Forms application. Code 128 barcode control provides a complete solution for integrating dynamic Code 128, Code 128A, Code 128B and Code 128C barcodes into .NET Framework Applications using Visual C#.NET. Easy-to-configure assistant tool lets you easily generate barcodes in Visual C# .NET projects. Free trial evaluation package is provided with C#.NET sample code listing.
.NET Barcode Generator SDK library includes
ASP.NET Barcode Generator,
C# Barcode Generator,
VB.NET Barcode Generator,
QR Code Generator .NET,
QR Code Generator ASP.NET,
QR Code Generator C#,
QR Code Generator VB.NET,
Code 128 .NET,
Code 128 VB.NET,
Code 128 ASP.NET,
Code 128 C#.
Barcode images are exported as high quality GIF, BMP, PNG, JPEG/JPG and TIFF. Code 128 barcode library entitles users to set the properties of the barcodes. Royalty-free perpetual developer licenses and optional source code are available in Aspper Code 128 generator.
Code 128 Barcode Generator/Library for C#.NET - Benefits
- 100% managed code with strong name signatures and signed DLLs is created in C# for performance and stability.
- Code 128 barcode control Supports EnableTilde function to encode ACSII character.
- Code 128 barcode library for C#.NET could easily integrate barcodes in Windows Forms applications, Class Library, Console Application, Windows Control Library and Crystal Reports Application.
- This barcode professional supports barcode generation in .NET Framework 2.0, 3.0, 3.5 or greater.
- Code 128 barcode generator is completely compatible with vista, Windows 2000, XP, Windows 7, Window Server 2003 and 2008 Operating System.
- This library lets you easily integrate dynamic barcode in Visual Studio 2005, 2008, and 2010.
- Checksum digits Calculation of Code 128 is computed by C#.NET SDK automatically.
- The human-readable text of Code 128 symbology is allowed to be adjusted.
- Barcode images could be rotates clockwise in 4 direction (0, 90, 180, 270 degrees).
- Users are entitled to customize the Properties including X-dimension, wide-to-narrow ratio, barcode height, margins of the barcode created by the C#.NET control.
- Code 128 C#.NET professional supports images formats of JPEG, GIF, BMP, PNG, TIFF.
- Code 128 library is compatible with latest barcode standard ISO / IEC 15417.
Code 128 Barcode Generator/Library for .NET Applications
Aspper.com provides complete information of
User Guide for Visual C# on how to generate dynamic Code 128 barcodes into .NET applications and report solution.
How to Create Dynamic Code 128 Barcodes on C#.NET App
Generate and Draw Code 128 1D Barcodes in C#.NET Classes
- Download the Code 128 barcode generation SDK and unzip it. Copy the generation dll to your C#.NET project folder.
- Open your project in Visual Studio; add Code 128 barcode generation dll to project reference.
- Right click the form, choose (view code) in the list. Barcodes could be created easily by adding C# code.
// Create linear barcode object
BarCode code128 = new BarCode();
// Setting barcode symbology type
code128.Symbology = Symbology.Code128Auto;
// Draw & print generated barcode to png image file
code128.draw ("csharp-code128.png ");
Property setting of Code 128 with C#.NET
// Set unit of meature in the library.
code128.UOM = UnitOfMeasure.PIXEL;
// Set bar module width (X), default is 2 pixel;
code128.X = 1;
//Set bar module height (Y), default is 75 pixel;
code128.Y = 60;
// Set the left, right, top, bottom margins of barcode images. Defaults are 0.
code128. MarginLeft = 0;
Valid values are:
code128. MarginRight
code128. MarginTop
code128. MarginBottom
//Set resolution of image, default is 72 dpi.
code128.Resolution = 65;
// Set barcode orientation of image: 0, 90, 180, 270 degrees
code128. Angle = Angle. Degree0;
// Set data to be encoded
code128.Data = "0123456789";
// Set barcode symbology type. Valid values are: Symbology.Code128A; Symbology.Code128B; Symbology.Code128C
code128.Symbology = Symbology.Code128Auto;
// Enable checksum digit
code128.AddCheckSum = true;
// Apply Tilde function of character "~" to encode special characters. Default is false.
code128. EnableTilde = true;
Text setting for Code 128 with C#.NET
// If true, human readable text will be displayed under the barcode
code128.ShowText = true;
//If true, display checksum digit
code128. ShowCheckSum Char = true;
// Setting the text font
code128.TextFont = new Font("Arial", 9f, FontStyle.Regular);
// Set the space between barcode and text. Default is 6 pixel.
code128.TextMargin = 6;
Format setting for Code 128 with C#.NET
// Create Code 128 and encode barcode to gif format
code128.Format = ImageFormat.Gif;
Color setting for Code 128 with C#.NET
// set background color of barcode image, Default is white.
code128.drawBarcode("C:\\barcodeimages\\code128.gif");
code128. BackgroundColor = white;
// set foreground color of barcode image, Default is black.
code128. ForegroundColor = black;
Drag and Drop Code 128 Linear Barcodes to C#.NET Form
- Download the Code 128 barcode generation SDK and unzip it. Copy the generation dll to your C#.NET project folder.
- Open your project in Visual Studio after the installation.
- Right click Toolbox in Visual Studio then click (Choose Item) button. Click button (Browse) in the Choose Toolbox Items dialog.
- Find the C#.NET barcode dll, and then click (OK) button.
- The barcode items will be in the (Component) section of the Tools Palette.
- Drag and drop the barcode control in the toolbox to your .NET Windows Form. Double click the barcode image in the forms
- It is easy to generate barcode by using C# code.