Easily generate and print Code 128 barcode in .NET Applications
Code 128 Generator for .NET Applications
  • Easy to use .NET Barcode component for .NET Framework 2.0, 3.0, 3.5, 4.0
  • Compatible with VB.NET, C#, Managed C++ and Borland Delphi for .NET
  • Create dynamic linear/1D, 2D and postal barcode images in .NET Applications
Code 128 Creation using Avapose.Barcode Control
  • Mature barcode generator control to create Code128 in .NET Winforms applications
  • Create Code 128 barcode image in .NET class & console applications
  • Managed code completely written in Visual C#
  • 100% run in Visual Basic.NET, C#.NET, Managed C++ for .NET
  • Digitally-signed, time-stamped and strong-named .NET Assemblies
  • Save barcodes in image files as well as in the memory
  • Support Code 128 barcode rotation in 0, 90, 180 or 270 degree
  • Human-readable text can be enabled or disabled in the Code 128 .NET control
.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#.

.NET Code 128 Generation SDK for Winforms is an easy-to-use barcode creation component to make Code 128 barcodes in .NET Winforms applications. It is a .NET assembly that compatible with Visual Basic.NET, C#.NET, Managed C++.NET and any development environment in the .NET Framework.
.NET Code 128 Library for Winforms Development:
  • Windows Forms Application (design-time and runtime support)
  • Console Application (runtime support)
  • Class Library (runtime support)
  • Windows Service (runtime support)
Code 128 Image Creating DLL for .NET Projects - Code 128 Information
Code 128 is a high-density linear barcode symbology capable of encoding all 128 characters of ASCII and extended ASCII characters. It has three kinds of encoding types including code set A, code set B and code set C to encode 128 characters according to ASCII. Code 128 has been widely used in many fields where a relatively large amount of data must be encoded in a small amount of space.
.NET Code 128 library for Winforms encodes:
  • Standard ASCII values: 0-128
  • Extended ASCII values in accordance with ISO 8859-1: 128-255
.NET Code 128 Barcode Image Drawing Library - Code 128 Generation

Requirements:

Before you generate Code 128 in Windows Forms applications, you need install:
  • Windows XP,Windows Vista,Windows 7, etc
  • .NET 2.0/3.0/3.5/4.0 and later version
  • Visual Studio 2005/2008/2010
  • .NET Code 128 Generator for Winforms

Drag and Drop Code 128 to .NET Forms projects using Avapose.Barcode Control for .NET

  1. Create a new project in you Visual Studio;
  2. Copy Avapose.linearbarcode.winforms.dll to your Winforms project folder;
    (Do not copy the dll to .NET bin directory, Visual Studio will do so.)
  3. Add Winforms Control to your Visual Studio Toolbox;
  4. Find Component LinearWinControl in the Toolbox and drag LinearWinControl component onto your form;
  5. Go to Property tab and change Barcode Type to "Code 128 ";
  6. Change other parameters if needed. Debug it and then a Code 128 barcode occurs.

Generate Code 128 Barcodes Images in .NET projects using Avapose.Barcode API for .NET

  1. Create a new project in you Visual Studio;
  2. Copy Avapose.linearbarcode.winforms.dll to the project folder of your Windows Forms Application;(The DLL will be copied to the bin directory automatically)
  3. Add Avapose.linearbarcode.winforms.dll to your Winforms project reference;
  4. Copy those following samples accordingly and debug them, you will find Code 128 generated in you Winforms projects.

C# code

using Avapose.linearbarcode;
Linear Barcode = new Linear();
Barcode.LinearBarcode = Code128;
Barcode.BarcodeData = "Avapose";
barcode.BarHeight_Y = 60;
barcode.BarWidth_X = 2;
barcode.Rotation = Avapose.linearbarcode.Rotation.Degree90;
barcode.Resolution = 96;
barcode.MeasurementUnit = Avapose.linearbarcode.MeasurementUnit.Pixel;
Barcode.ResizeBarcode = true;
Barcode.DrawBarcodeImag(""d:\\barcode.png"");

VB code

Dim barcode As Avapose.linearbarcode.Linear = New Avapose.linearbarcode.Linear()
barcode.LinearBarcode = Avapose.linearbarcode.LinearBarcode.Code128
barcode.BarcodeData = "Avapose"
barcode.ApplyTilde = True
barcode.MeasurementUnit = Avapose.linearbarcode.MeasurementUnit.Pixel
barcode.BarWidth_X = 2
barcode.BarHeight_Y = 50
barcode.Resolution = 72
barcode.Rotation = Avapose.linearbarcode.Rotation.Degree90
barcode.BackgroundColor = Color.Aquamarine
barcode.DrawBarcodeImage("e://barcode.png")
Testimonial for Avapose.Barcode for WinForms
We bought your Barcode Generator for WinForms a few weeks ago, and it works pretty well
Carios Louis, Eureka Software Ltd,UK