• Completely run in C#.NET and easily integrate into any C#.NET applications
  • Default value are defined automatically at the beginning of the bar code generation
  • Provide gif, png, jpeg, tiff, bmp etc as the image file format to save Codabar barcode
  • Simple to change and set Codabar image rotation, resolution and color
  • Display Codabar human-readable text and checksum digit or not
  • Simple to change the proportion of narrow bar and wide bar in Codabar barcodes
  • Easy-to use, comprehensive barcode generator for Codabar in C#.NET
Setting Codabar Barcode Image in C#.NET
Those following properties may influence Codabar barcode width: (a), barcode rotation; (b), barcode resolution; (c), image format, (d), human-readable text and (e), Codabar start and stop characters.

Download BusinessRefinery.com C#.NET Codabar and unzip; then add BusinessRefinery.Barcode.Win.dll or BusinessRefinery.Barcode.Web.dll to your .NET project reference; copy those C# sample code onto your Visual Studio:
     using BusinessRefinery.Barcode;

     Linear barcode = new Linear();
     barcode.Symbology = Symbology.CODABAR;
     barcode.Code = "9876543210";

(a) Barcode rotation


Change Codabar barcode rotation using Rotate property in BusinessRefinery.com C#.NET Codabar.
     barcode.Rotate = Rotate.Rotate0; 

(b) Barcode resolution


Manage Codabar barcode resolution using Resolution property in BusinessRefinery.com C#.NET Codabar.
     barcode.Resolutin = 72;

(c) Image Formats


Save the barcode images to most of the popular image formats using drawBarcode2ImageFile property in BusinessRefinery.com C#.NET
     barcode.drawBarcode2ImageFile("C://codabar.gif"); 
Draw Codabar barcode image into C#.NET Graphics, Stream & Bitmap objects.
     barcode.drawBarcode2Stream("Stream object");
     barcode.drawBarcodeOnGraphics("Graphics object");

(d) Human-readable Text


Display or hide Codabar human-readable text using DisplayText property.
     barcode.DisplayText = true;
Completely control over the appearance of the human-readable text in the Codabar barcode image using TextFont properties.
     barcode.TextFont = new FontStyle("Arial", Font.PLAIN, 11);  

(e) Start & Stop Character


Customize the start and stop symbols in Codabar according to your requirements using CodabarStartChar and CodabarStopChar property.
     barcode.CodabarStartChar = CodabarStartStopChar.A;
     barcode.CodabarStopChar = CodabarStartStopChar.B; 




Quick Links