.NET barcode creator component  >  generating barcode with C#  >  2of5 bar code c# generator


Industrial 2 of 5 Barcode Generator C# API

Integrate 2 of 5 barcode sdk into .NET apps and generate code 2 of 5 bar code with C#


Overview

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

Related solutions for generating Code 2 of 5 image in C#.NET



Features

Technologies of Code 2 of 5 C# .NET Creator

C# .NET Code 2 of 5 Barcode Creator helps you generate Code 2 of 5 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 Code 2 of 5 in C# .NET classes and console applications is easy. Using this C# .NET Barcode Creator, Code 2 of 5 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 Code 2 of 5 Barcode Creator

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

Customization of Code 2 of 5 Barcodes

Full functional features of C# .NET Code 2 of 5 Barcode Creator make the operation of barcode easy and simple. Using this Code 2 of 5 creator, the appearance of the human readable characters on Code 2 of 5 barcodes can be enabled or disabled. Code 2 of 5 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 Code 2 of 5.

Code 2 of 5 Source code and Developer License

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


Create Code 25 in C#.NET

/*
 Create a new linear barcode object in C#.NET,
 and change the barcode type to Code 25 symbology
*/

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

/*
 Assign characters that are encoded into Code 25 barcode symbology.

 Encodable character set of Code 25 is as follow,
   Numeric digits: 0 1 2 3 4 5 6 7 8 9

 Code 25 barcode encodes a variable length of characters
*/

barcode.CodeText = "1234567890";

//Disenbable the checksum option for Code 25 for it requires no check digit
barcode.EnableChecksum = false;

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

//Assign values of bar width and bar height to Code 25 barcode
barcode.X = 2;
barcode.Y = 75;

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

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

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

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

/*
 Display the characters encoded into the Code 25 symbology and
 set the font style of the characters encoded into Code 25
*/

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

/*
 Set Code 25 barcode drawing image format to PNG in C# and
 generate Code 25 image in C#
*/

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