.NET barcode encoding sdk >  barcode generation with C# >  drawing Codabar in C# for .NET apps


Codabar Barcode C# Generator for .NET Project templates

encode Codabar barcode with C# .NET for .NET framework project templates


Overview

Keepdynamic.com supply Codabar C# .NET Barcode Generator for the creation of Codabar barcodes in your C# .NET framework projects.

Related solutions for generating Codabar image in C#.NET



Features

Technologies of Codabar C# .NET Creator

C# .NET Codabar Barcode Creator helps you generate Codabar barcodes that you probably need in your C# .NET applications. It is entirely built in .NET 2.0 and supports .NET 2.0, 3.0, 3.5, 4.0. Bar coding of Codabar in C# .NET classes and console applications is easy. Using this C# .NET Barcode Creator Codabar barcodes can also be easy to be generated in ASP.NET web projects, Microsoft Windows Forms, SQL Server Reporting Services (SSRS), and Crystal Reports.

Barcode images generated by C# .NET Codabar Barcode Creator

Image formats supported by this Codabar C#.NET barcode Creator include gif, jpeg, png, bmp, and tiff. Barcodes Codabar can be rotated to 0, 90, 180, or 270 degrees based on specific requirements. The image size and other properties Codabar may be adjusted to meet the users' specifications. High quality barcodes Codabar are supported by this product without any distortion. Bearer bar for Codabar barcode are easy to be generated

Customization of Codabar Barcodes

Full functional features of C# .NET Codabar Barcode Creator make the operation of barcode easy and simple. Using this Codabar creator, the appearance of the human readable characters on Codabar barcodes can be enabled or disabled. Codabar C# .NET Barcode Creator provided the functionality of configuring the colors of foreground and background. It is easy to encode the returns, tabs and other functions into your C# .NET applications. Bearer bar is also easy to be generated for Codabar.

Codabar Source code and Developer License

Complete C# .NET Codabar Barcode Creator source code is provided with the purchasing of unlimited developer license. Royalty is free if purchasing a developer license.


Create Codabar in C#.NET

/*
 Create a new linear barcode object in C#.NET,
 And change the symbology type to Codabar barcode
*/

BarCode barcode = new BarCode();
barcode.SymbologyType = SymbologyType.Codabar;

/*
 Set the value that are encoded into Codabar symbology.
   Encodable character set of Codabar is as follow,
   Numeric digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
   Special Characters: Dash(-), Dollar($), Colon(:), Slash(/), Point(.), Plus(+)

 Codabar is a variable length barcode symbology, so it holds any length of characters
*/

barcode.CodeText = "1234567890";

//Disenable the checksum for Codabar, because it is a self-check symbology
barcode.EnableChecksum = false;

//Set the barcode graphic measurements as Pixel
barcode.GraphicsUnit = KeepDynamic.Barcode.Generator.GraphicsUnit.Pixel;

//Set the values of bar width and bar height
barcode.X = 2;
barcode.Y = 75;

//Set the margins around the Codabar barcode symbol
barcode.LeftMargin = 0;
barcode.RightMargin = 0;
barcode.TopMargin = 0;
barcode.BottomMargin = 0;

/*
 Set the resolution of Codabar image that is drawn to,
 and change the Codabar barcode orientation
*/

barcode.Resolution = 72;
barcode.Rotate = Rotate.Rotate0;

//Set the ratio between wide elements to narrow elements for Codabar
barcode.WideNarrowRatio = 2.0f;

/*
 Display the characters encoded into the Codabar symbology
 Enable the start and stop characters for the Codabar symbology
 Set the font style of characters encoded into the barcode
*/

barcode.DisplayCodeText = true;
barcode.DisplayStartStopChar = true;
barcode.CodeTextFont = new Font("Arial", 11f, FontStyle.Regular);

/*
 Set Codabar barcode drawing image format to PNG in C#
 Generate Codabar image in C#
*/

barcode.Format = ImageFormat.Png;
barcode.drawBarcode("C://barcode-codabar-csharp.png");