C#.NET Code 11 Barcode Generator SDK Guide for C#.NET Code 11 Barcode Generation in ASP.NET & .NET WinForms
Fully developed in Visual C#, easy to install Code 11 barcode generator SDK into C# development environment Create Code 11 barcode image in C# ASP.NET web applications and C# WinForms applications Generate over 20 1D and 2D barcode images in C#.NET, including Code 11, Code 39 , Code 128 , QR Code , Data Matrix , etc Easy to encode Code 11 barcode image to multiple image files or objects in Visual C# applications Perfectly compatible with Code 11 barcode image generation as required in specification Offer various royalty-free and permanent developer licenses to all of our clients Characteristics of C#.NET Code11 Barcode
Code 11 is also known as USD-8. It was developed as a high-density numeric-only symbology.
Code 11 is able to encode the numbers 0 to 9, the dash symbol (-), as well as the start/stop characters.
Code 11 uses one or two weighted checksum digits. In general, only one checksum ("C") is used if the symbol length is less than 10 characters, but both "C" and "K" are used if the symbol is 10 characters or longer.
Generate C# Code11 Barcode Image in ASP.NET Web Applications
Add reference (BarcodeLib.Barcode.ASP.NET.dll ) to your Visual Studio Toolbox .
Right click ASP.NET Visual Studio Toolbox , select menu Choose Items... In Choose Toolbox Items form, click button Browse... , and select BarcodeLib.Barcode.ASP.NET.dll . You will see four items (LinearASPNET, DataMatrixASPNET, PDF417ASPNET and QRCodeASPNET). Copy "linear.aspx" and "linear.aspx.cs" in the unzipped package to your project folder. Drag and drop LinearASPNET under the Toolbox to your aspx page where the Code 11 barcode image is generated. Change your Code 11 barcode settings through the Properties window or by compiling the free C# source codes below.
this .LinearASPNET1.Data = "2364852-102" ; this .LinearASPNET1.Type = BarcodeLib.Barcode.BarcodeType.CODE11; this .LinearASPNET1.AddCheckSum = true ; this .LinearASPNET1.BarWidth = 1; this .LinearASPNET1.BarHeight = 60;
5. Run your project to see the generated Code 11 barcode image on your aspx page.
Generate C# Code 11 Barcode Image in .NET Windows Forms
Drag PixtureBox and Button to your Visual Studio windows program, e.g. Form1. Add reference (BarcodeLib.Barcode.WinForms.dll ) to your C#.NET WinForms project. Generate Code 11 barcode image using the following C# sample codes.
Linear barcode = new Linear(); barcode.Type = BarcodeType.CODE11; barcode.Data = "2364852-102" ; Bitmap Code11 = barcode.drawBarcode(); this .pictureBox1.Image = Code11;
4. Finally, double click the button to see the generated Code 11 barcode image.
Supported C# Barcode Types
C# 1D Barcode Generation:
Codabar
Code 2 of 5
Code 11
Code 39
Code 93
Code 128
EAN-8
EAN-13
EAN 128/GS1 128
Interleaved 2 of 5
ITF-14
MSI Plessey
Intelligent Mail
Planet
Postnet
RM4SCC (British Royal Mail)
UPC-A
UPC-E
C# 2D Barcode Generation:
QR Code
PDF 417
Data Matrix
1D barcodes supported:
Codabar ,
Code 11 ,
Code 2 of 5 ,
Code 39 ,
Code 93 ,
EAN-8 ,
EAN-13 ,
Interleaved 2 of 5 ,
ITF-14 (UPC Shipping Container Symbol) ,
Code 128 ,
EAN 128/GS1 128 ,
MSI Plessey ,
Intelligent Mail ,
Planet ,
Postnet ,
RM4SCC (British Royal Mail) ,
UPC-A ,
UPC-E .
How to draw & print barcodes using C# class: