Barcode Crystal > Barcode in Crystal > Linear > .NET Code 2 of 5 in Crystal
  • Simple to integrate into your Crystal Reports
  • Rich Code 2 of 5 settings to customize your generating barcodes
  • Minimum Code 2 of 5 knowledge required, with complete developer guides
  • Comprehensive C#, VB.NET sample codes for Code 2 of 5 generation configured to its barcode specification
  • Also support other linear barcodes: ISBN, MSI Plessey, Code-93, Interleaved 2 of 5, etc
  • Mature and reliable C#.NET Barcode components since 2003
  • Royalty free with Developer License purchased

Quick Jump: Code 2 of 5 Information | Code 2 of 5 in Crystal Reports FAQ

Code 2 of 5 Information

Encodable Character

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Encodable Data Length

  • Variable
Code 2 of 5 in Crystal Reports - FAQ

This document provides several methods to specify Code 2 of 5 barcodes in Crystal Reports. Please download BusinessRefinery.com Code 2 of 5 Barcode Generator for Crystal Reports.

1. What are these in our Crystal Report Barcode Generator package?

You will find "BarcodeDemoData.mdb", "CustomerDataSet.xsd", "developer guide" and "BusinessRefinery.Barcode.Web.dll" or "BusinessRefinery.Barcode.Win.dll" in the package; See more information on .NET Crystal Report Barcode Generation Guide.

2. How to Install this class library onto your Crystal Reports?

Install .NET Crystal Reports barcode generator can be easy and simple, view Install process for Crystal Reports.

3. How to adjust Code 2 of 5 bar ratio using C# and VB.NET class?

Code 2 of 5 bar ratio is the proportion of wide bar vs narrow bar.

C# class:

using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE2OF5;
barcode.Code = "98-76-543-210";
barcode.BarRatio = 2.3;
barcode.drawbarcode2ImageFile("C://code_25.gif");

VB.NET class:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.CODE2OF5
barcode.Code = "0198-7654-3210"
barcode.BarRatio = 2.3
barcode.drawbarcode2ImageFile("C://code_25.gif")

4. How to customize Code 2 of 5 barcode size using C# and VB.NET class??

Code 2 of 5 barcode size can be influenced by bar width & height, barcode width & height, barcode margin, measurement of unit for barcode.

C# class:

using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE2OF5;
barcode.Code = "98-76-543-210";
barcode.BarWidth = 3;
barcode.BarHeight = 90;
barcode.TopMargin = 7;
barcode.BottomMargin = 7;

barcode.drawbarcode2ImageFile("C://code_25.gif");

VB.NET class:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.CODE2OF5
barcode.Code = "0198-7654-3210"
barcode.BarWidth = 3
barcode.BarHeight = 90
barcode.RightMargin = 7
barcode.LeftMargin = 7

barcode.drawbarcode2ImageFile("C://code_25.gif")





Quick Links