How to create and print Code 128 barcodes for .NET application using C# barcode SDK
C# Barcode Generator for Code 128 Creation
  • Professional barcode component for .NET 2.0/3.0/4.0
  • Generate QR Code, UPC/EAN, Code 128, ISBN, and more in .NET
  • Support VB.NET, C#, Managed C++ and Borland Delphi for .NET
Barcode in C# > Linear > Code 128
Generate Code 128 Barcode using C# Barcode Library
  • Generate Code 128 barcode in C# projects using .NET control & dll
  • A .NET control DLL written entirely in managed C#
  • Completely integrated within Microsoft Visual Studio 2005/2008/2010
  • Generate every Code 128 from ISO / IEC 15417 (2nd edition 2007-06-01)
  • Encode data using code set A, B, C, and Auto code set
  • Provide barcode options with high usability
  • Print flexible Code 128 using pixel, cm, and inch as the unit of measure
  • Mature Code 128 barcode SDK & control used word-wide
.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 Generator is a barcode component library, .NET software development kit, and Winform control that allows you to add dynamic Code 128 barcode images to C# projects in .NET. .NET 2.0/3.0/4.0 or greater versions are supported by .NET Code 128 Generator. And the C# source code is available to order.
.NET Code 128 Generator supports the following types of projects in C#.NET:
  • Console Application (runtime support)
  • Windows Forms Application (design-time and runtime support)
  • Class Library (runtime support)
  • Windows Service (runtime support)
Barcode Component for C#.NET Applications - Code 128 Specifications
Code 128 is a popular linear barcode symbology that encodes alphanumeric as well as numeric-only data. Due to its high density and large data capacity, it is widely used in a variety of industries. Its subset GS1-128 is used extensively worldwide in shipping and packaging industries.
.NET Code 128 Generator encodes:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Upper case letters (A - Z)
  • Lower case letters (a - z)
  • Special characters: - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
Barcode Generating SDK for C#.NET - Code 128 Barcode Generation

Setup

Before you create Code 128 in C#.NET, you need to install:
  • Windows XP, Windows Vista and Windows 7
  • .NET 2.0, 3.0 and advanced version
  • Microsoft Visual Studio 2005/2008/2010
  • .NET Barcode Generator

Drag and drop Code 128 barcode to web forms in .NET Class

  1. Download Avapose.com trial package and unzip;
  2. Add Avapose.linearbarcode.winforms.dll to the C# Winform project reference;
  3. Drag and drop a button to the form, and double-click the button;
  4. In the Form1.cs, copy the following sample code to accordingly

Generate and create Code 128 in image using C# barcode generator component


using Avapose.linearbarcode;
Linear Code128 = new Linear();
Code128.LinearBarcode = LinearBarcode.c
Code128.BarcodeData = "Code128";
Code128.BarcodeWidth = 175;
Code128.BarcodeHeight = 50;
Code128.ResizeBarcode = true;
Code128.DrawBarcodeImage("E:\\image\\code128.gif");
// create and draw to image file
public void DrawBarcodeImage (string filename);
// create, draw, paint barcode on Graphics object
public void DrawBarcodeImage (Graphics graphics);
// create, draw, paint barcode on Bitmap object
public Bitmap DrawBarcodeImage ();
// create, draw, paint barcodeon Stream object
public void DrawBarcodeImage (Stream fileStream);
// create, draw, paint barcode on byte[] object
public byte[]DrawBarcodeImage AsBytes();
Related Code 128 Barcode Integration & Generation Information
The following Code 128 barcode integration and creation information links relate to this product that may be of interest to you:
Testimonial for .NET Barcode Generator in C#.NET
We bought your product .NET Barcode Generator for C#.NET programming a few weeks ago, and it works pretty well!
Carlos Louis, Eureka Software Ltd, UK.