Code 2 of 5 C#.NET Barcode Generation DLL Generate & Print Linear Barcode Code 2 of 5 in C#.NET Class
Powerful & mature .NET barcode encoding component used for Code 2 of 5 generation Work perfectly with popular .NET development tools, like Microsoft Visual Studio (2005 and above supported) Provide advanced C# barcode generation and printing features for Code 2 of 5 Generate Code 2 of 5 barcode in ASP.NET web solutions using C# class library Generate & output Code 2 of 5 to common image files and byte stream objects Support other popular 1d barcodes, like C# Code 128, Code 39, EAN-13, and UPC-A Linear Code 2 of 5 C#.NET Barcode Introduction
Code 2 of 5, also known as standard 2 of 5 or industrial 2 of 5, is a numeric-only barcode symbology. It is mainly used in areas like airline ticket marking, warehouse sorting and photofinishing. Compared with other linear barcode, Code 2 of 5 is a relatively low-density barcode type, because it can only encode information in its bars and the spaces only exist as separators.
How to Encode Code 2 of 5 Barcode Images in C#.NET Class?
Add C#.NET barcode generator dll to your project reference. Add the same C#.NET barcode generator dll to your Toolbox item. You could generate Code 2 of 5 barcode with following sample C# codes.
BarcodeLib.Barcode.Linear code25 = new BarcodeLib.Barcode.Linear(); code25.Type = BarcodeType.CODE2OF5; code25.Data = "123456" ; code25.BarColor = System.Drawing.Color.Black; code25.BarWidth = 1; code25.LeftMargin = 7; code25.RightMargin = 7; // You could also adjust other settings of Code 2 of 5, like image format, rotate, image size etc. // Save barcode image into your system code25.drawBarcode("c:/code25.png" ); // Make Code 2 of 5 barcode & output to byte array byte [] barcodeInBytes = code25.drawBarcodeAsBytes(); // Make Code 2 of 5 barcode to Graphics object Graphics graphics = ...; code25.drawBarcode(graphics); // Make Code 2 of 5 barcode and output to HttpResponse object HttpResponse response = ...; code25.drawBarcode(response); // Make created Code 2 of 5 barcode to Stream object Stream stream = ...; code25.drawBarcode(stream);
Above Free Code 2 of 5 sample codes are built in Visual C# 2005
How to Create Standard 2 of 5 Barcodes in C# ASP.NET Website?
Add "Barcodelib.Barcode.ASP.NET.dll " to your web project. Add "Barcodelib.Barcode.ASP.NET.dll " to the VS Toolbox. Open the folder "barcode " and copy files "linear.aspx " & "linear.aspx.cs " to your web folder. Drag "LinearASPNET " from the Toolbox and drop it on the split part of your aspx page. Adjust barcode type to Code 2 of 5 in the Properties Window or generate a Code of 5 barcode with Code 2 of 5 C# Encoding Code .
After the installation of Code 2 of 5 barcode generation component, you could also generate a standard
Code 2 of 5 in IIS .
How to Generate Code 2 of 5 Barcodes in C# WinForms Programs?
Add "BarcodeLib.Barcode.WinForms.dll " to your web project. Add "BarcodeLib.Barcode.WinForms.dll " to your Visual Studio Toolbox. Drag LinearWinForm to your windows forms project. Adjust barcode type to Code 2 of 5 in the Properties Window or produce a Code 2 of 5 barcode with above Code 2 of 5 C# Encoding Code . Other Barcode Types Suitable with C# Code 2 of 5 Barcode DLL
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
This barcode generator DLL is applicable to all the following linear barcodes:
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 .
The following links can lead you to other commonly used .NET barcoding applications:
Provides High Quality Barcode SDK in .NET , Barcode SDK in ASP.NET , Barcode SDK in C# , Barcode SDK in VB.NET , Barcode SDK in Windows Forms , Code 2 of 5 SDK in .NET , Code 2 of 5 SDK in C# , Code 2 of 5 SDK in VB.NET , Code 2 of 5 SDK in ASP.NET, Code 2 of 5 Barcode SDKs in Windows Forms, SSRS, Crystal Reports, and RDLC Reports.