.NET Barcode for WinForms          ASP.NET Barcode          .NET Barcode Reader          Java Barcode          Java Barcode Reader
Home > .NET Barcode for Winforms > Linear Barcode Generator for WinForms - Code 11 Generator

Code 11 Generator for .NET Forms Applications

Linear barcode image processing library for Code 11 creation in .NET template projects

Make and print Code 11 bar code in .NET Windows Forms Applications using .NET Forms Barcode Creator

  • Create Code 11 barcodes in .NET Windows Forms projects

  • Support C#, VB.NET, Managed C++ and Delphi for .NET

  • Completely built in C#.NET, VB.NET

  • Rich image options, including image format, DPI, Angle are provided

  • Easy to integrated in Microsoft Visual Studio2005/2008/2010

  • Support rich option to specify Code 11 barcodes, such as sizeing option, color option, ect

  • Winforms Data-Binding support

  • Mature & reliable barcode generating component

  • Royalty free with the purchase of a Developer License

Code 11 Barcode Maker Control for .NET WinForms Applictions - Overview

.NET Code 11 barcode generator for Winforms is a robust .NET class library, which lets developers easily to add Code 11 barcode generating and printing functionality into .NET Windows Forms applications. It is an easy-to-install package, which requires minimum Code 11 barcode knowledge. It supports to be used in any development environment supported by .NET Framework, and compatible with the latest development toolkit Microsoft Visual Studio.

High-quality Code 11 barcode images can be drawn and printed into GIF, BMP, PNG, JPEG/JPG & TIFF with this barcode generator. Rich barcode options are provided to customize barcode properties in accordance with your needs.

Code 11 information:

Code 11 (called as USD-8 as well), developed by Intermec in 1977, and is designed for telecommunication. It is one of high-density numeric-only linear symbology. it uses binary 1 and binary 0 to represent wide lines and narrow lines.

.NET Code 11 generator for Winforms encodes:

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9;

  • -(Dash)

Development Environment

  • Windows Forms Application (design-time and runtime support)

  • Console Application (runtime support)

  • Windows Service (runtime support)

  • Class Library (runtime support)

Create Code 11 by using .NET Winforms Barcode Control

Install and register .NET Barcode Generator Component in .NET projects for Code 11 generation
  • Download Avapose.com trial package and unzip

  • Copy Avapose.Barcode.Encoder.WinForms.dll to your Winforms project folder
    (Do not copy .dll to .NET bin directory, Visual Studio will do so.)

  • Add Avapose.Barcode.Encoder.WinForms.dll to your Winforms project reference

  • Add Winforms Control to your Visual Studio Toolbox.

  • 1. Right click .NET Visual Studio Toolbox, select menu Choose Items...

    2. In "Choose Toolbox Items" form, click button "Browse...", and select dll

Generate, print Code 11 barcodes with C# class

BarCode barcode = new BarCode();

aa.Symbology = Symbology.Code11;

aa.Data = "7508";

aa.BarcodeImageWidth = 175;

aa.BarcodeImageHeight = 50;

aa.X = 6;

aa.Y = 6;

aa.AutoResize = true;


Generate, print Code 11 barcodes with VB.NET class

Dim barcode As Avapose.Barcode.Encoder.ClassLibrary.BarCode = New Avapose.Barcode.Encoder.ClassLibrary.BarCode

barcode.Symbology = Avapose.Barcode.Encoder.ClassLibrary.Symbology.Code11

barcode.Data = "6503"

barcode.BarcodeImageWidth = 175

barcode.BarcodeImageHeight = 50

barcode.X = 6

barcode.Y = 6

barcode.AutoResize = True




Code 11 Barcode Properties and Methods using .NET Forms Barcode Control

Category : Basic

Properties Value
Type Default
Data string "128"

Code 11 Valid value to encode:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9;

  • -(Dash)

Linear barcode symbology type.

Set the value to Symbology.Code11


property is not applied here. Code 11 does not require any checksum.

Category : Barcode Size Related

Properties Value
Type Default



Set AutoResize property to true, the generated barcode image can be resized automatically.


Unit of meature for all size related settings in the library.

Valid values:
  • UnitOfMeasure.Pixel
  • UnitOfMeasure.Cm
  • UnitOfMeasure.Inch

X float 2

Bar module (narrow bar) width of barcode, default is 2 pixel

Y float 75

Bar module height of barcode, default is 75 pixel

BarcodeImageWidth float 0

Barcode image width.

Be sure barcodeWidth setting is larger than the barcode required minimum width, otherwisethe library will automatically reset to barcode minimum width.

BarcodeImageHeight float 0

Barcode image height.

Be sure barcodeHeight setting is larger than the barcode required minimum height, otherwise the library will automatically reset to barcode minimum height.

MarginLeft float 0

Left margin size of barcode image.

MarginRight float 0

Right margin size of barcode image.

MarginTop float 0

Top margin size of barcode image.

float 0

Bottom margin size of barcode image.

DPI int 72

Barcode image resolution in DPI
(Dots per inch).

Angle Angle Degree0

Barcode image orientation can be rotated in this library.

Valid values:
  • Angle.Degree0
  • Angle.Degree90
  • Angle.Degree180
  • Angle.Degree270

Category : Barcode Colors

Properties Value
Type Default

Set BackgroundColor property to change background color of barcode image


Set ForegroundColor property to change foreground color barcode image

Category : Font Style

Properties Value
Type Default

True: show text under the barcode

False: hide text under the barcode

new Font ("Arial",10pt,

Set TextFont property to change font style of barcode text .


Set TextMargin property to change space between barcode and barcode data text, default is 6 pixel

ShowCheckSum Char

bool true

True: show checksum digit character;

False: hide checksum digit character.

TextColor Color black

Set TextColorproperty to change barcode text color

Category : Image Format

Properties Value
Type Default

Barcode image encoding type,including Jpeg, Png, Tiff, Bmp, Emf, Exif, Icon and Memory Bmp.


// create and draw to image file
public void draw(string filename)

// create, draw, paint barcode on Graphics object
public void draw(Graphics graphics)

// create, draw, paint barcode on Bitmap object
public Bitmap draw()

// create, draw, paint barcodeon Stream object
public void draw(Stream fileStream)

// create, draw, paint barcode on byte[] object
public byte[] drawOutputAsBytes()