KA.Barcode for .NET Suite
How to Generate Code 11 in C# application
How to generate & draw Code 11 barcode images in C#, ASP.NET web applications, and windows forms

C# barcode generator library: generate, create Code 11 linear barcode in C#.NET, ASP.NET, WinForms applications. Free download



  • Code 11 generation in C# .NET applications
  • Easy-to-use & integrate controls completely written in managed C#
  • Generate Code 11 and other linear & 2D barcodes in C# class, such as Code 2 of 5, Code 93, PDF 417
  • Draw Code 11 in C# ASP.NET web forms
  • Create Code 11 in .NET Windows Forms applications
  • Generate Code 11 in stream object, in graphics object, and image formats
  • Print and save Code 11 as gif, jpeg, png, tiff, and bitmap files using C#

Code 11, also named as Code11, USD-8, UDD8, is a common linear barcode widely used for telecommunications.

C# Code 11 barcode generator is a .NET Code 11 generation function of KeepAutomation .NET Barcode Suite, a high quality barcode generator component which enables you to easily and efficiently generate Code 11 and other linear & 2D barcode types in various .NET development environments, such as Windows Forms and ASP.NET, etc.

With .NET Barcode Generator Suite you can instantly generate and save Code 11 in a variety of image formats in C# program, including PNG, BMP, GIF, JPEG, TIFF and so on. For more details about Code 11 C# Generation, please refer to:

Code 11 Barcode Solutions

Besides C# .NET Code 11 Generator, KeepAutomation provides other advanced Code 11 barcode solutions, including

VB.NET Code 11 Generator - generating code 11 in VB.NET

Reporting Services Code 11 - generating code 11 in Reporting Services 2005, 2008

iPhone Code 11 Generator - printing code 11 barcode in iPhone

iPad Code 11 Generator - generating code 11 barcode in iPad

Code 11 Barcode Fonts - creating code 11 in barcode fonts

Apart from Code 11, .NET C# Barcode Generator also supports other linear and 2D barcode symbols, including: C# EAN-13, C# Intelligent Mail, C# UPC-E, C# RM4SCC, C# QR Code, etc.
How to Generate Code 11 in C# Applications?

How to Install Code 11 in C# Projects

  • Download KeepAutomation C# Code 11 Generator

  • Add "KeepAutomation.Barcode.Web.dll" or "KeepAutomation.Barcode.Windows.dll" to your C# project reference.

    1. "project" - "Add Reference" - choose "Browse" in the pop-up window
    2. locate your "KeepAutomation.Barcode.Web.dll" or "KeepAutomation.Barcode.Windows.dll" - click "OK"
    3. Now you will see "KeepAutomation.Barcode.Web" or "KeepAutomation.Barcode.Windows" under your references.
2-dimensional QR Code bar codes in VB.NET IDEs; ....
Code barcoding feature into .NET projects using Visual Basic .NET programming ....
QR Code in ASP.NET Application. How to create QR Code images in ASP.NET web applications using free QR Code Barcode Generator Demo. ....
View How to generate barcode in C#.NET using ASP.NET? ....
more>

How to Generate Code 11 in Visual C# Class

        using KeepAutomation.Barcode.Bean;        
        BarCode code11= new BarCode();  
        
        //Set barcode symbology type to Code 11  
        code11. Symbology = Symbology. Code11;
         
        //Set Code 11 encoding code value. Valid input: numeric digits 0-9, dash. Length: variable. 
        code11.CodeToEncode = "6663"; 
        
        //Set Code 11 image size
        
        code11.BarcodeUnit = BarcodeUnit.Pixel;    // Unit of measure, Pixel, Cm and Inch supported. 
        code11.DPI = 72;                           // Code 11 image resolution in DPI.
        code11.X = 3;                              // Code 11 bar module width (X dimention)
        code11.Y = 60;                             // Code 11 bar module height (Y dimention)
        code11.LeftMargin = 0;		           // Image left margin size, minimum value is 10X.
        code11.RightMargin = 0;	                   // Image right margin size, minimum value is 10X.
        code11.TopMargin = 0;		           // Code 11 image top margin size
        code11.BottomMargin = 0;	           // Code 11 image bottom margin size
        code11.Orientation = Orientation.Degree0;  // Orientation, 90, 180, 270 degrees supported.
        
        //Set Code 11 human readable text style
        
        code11.DisplayText = true;                 // Display human readable text
        code11.TextFont = new Font ("Arial", 10f, FontStyle. Regular);      
        code11.TextMargin = 6;                     // Space between barcode and text
         
        //Generate code 11 barcodes in image GIF format
        code11.generateBarcodeToImageFile("barcode-code11-csharp.gif"); 
        
        //Create Code 11 barcodes in Stream object
        code11.generateBarcodeToStream(".NET System.IO.Stream Object"); 
        
        //Draw & Print Code 11 barcodes to Graphics object
        code11.generateBarcodeToGraphics(".NET System.Drawing.Graphics Object");
        
        //Generate Code 11 barcodes & write to byte[] 
        byte[] barcodeInBytes = code11.generateBarcodeToByteArray();
        
        //Generate Code 11 barcodes & encode to System.Drawing.Bitmap object 
        Bitmap barcodeInBitmap = code11.generateBarcodeToBitmap();
        
        Other image formats including Png, Bmp, Tiff and Jpeg are also available to suit your needs.