VB.NET Codabar Barcode Generator Freeware
Create codabar barcodes image in vb.net project with free example source code



  • Create Codabar barcodes with Visual Basic.NET programming
  • Easy to install, simple to draw dynamic Codabar in .NET projects like ASP.NET web sites and winforms
  • Written in C#.NET with full integration into .NET Framework 2.0, 3.0, 3.5 and above versions
  • Integrate dynamic Codabar barcodes in Microsoft Visual Studio 2005/2008/2010
  • Latest barcode specification pre-configured to encode valid Codabar barcodes
  • Display customized human-readable text for Codabar
  • Output high-quality Codabar barcodes for all printers and scanners
  • Royalty free with purchase of a developer license
Codabar barcode generator is a .NET barcode component with flexible purchased developer licenses for generating, printing high-quality Codabar barcodes in .NET applications with Visual Basic.NET programming.

c# barcode scanner textbox, print barcode label in vb.net, c# free barcode reader library, how to create barcode font in excel, generate barcode in crystal report c#, print barcode in asp.net c#

Flexible Codabar barcode size support help the VB.NET developers configure the linear barcode size in the .NET Projects based on specific linear barcode size requirements.
Codabar Barcode Introduction
Codabar is a common linear barcode also named as CodaBar, Code 2 of 7, USS Codabar, 2 of 7 Code. It is mainly used by U.S. blood banks, photo labs, and on FedEx air bills.
Codabar Encodable Character Set:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • - (Dash), $ (Dollar), : (Colon), / (Slash), . (Point), + (Plus)
Codabar Generation in VB.NET Programming

How to Install Codabar Barcode Encoder for .NET Suite into your Project

  1. 1.
    Download KA.Barcode for .NET Suite Trial and unzip;
  2. 2.
    Add "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll" to reference;
  3. 3.
    Add Winform Barcode Control or ASP.NET Barcode Control to Visual Studio .NET ToolBox.

How to Generate Codabar in .NET Applications with VB.NET Demo Code

Dim codabar As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
codabar.Symbology = KeepAutomation.Barcode.Symbology.Codabar


' Set Codabar valid input: numeric digits 0-9, dash, dollar, slash, point and plus. Length: variable.
codabar.CodeToEncode = "123-456-789"

' Codabar Start & Stop Char:A, B, C, D
codabar.CodabarStartChar = CodabarStartStopChar.A
codabar.CodabarStopChar = CodabarStartStopChar.A

' Codabar unit of measure: pixel, cm and inch
codabar.BarcodeUnit = KeepAutomation.Barcode.BarcodeUnit.Pixel

' Codabar image resolution in dpi
codabar.DPI = 72

' Codabar size settings properties

' Codabar module bar width (X dimention), default is 1 pixel.
codabar.X = 2

' Codabar wide bar to narrow bar Ratio, default is 2.0f.
codabar.WideNarrowRatio = 2.5

' Codabar barcode image width
codabar.BarCodeWidth = 320

' Codabar image margin size, minimum value is 2X on four sides according to specification.
codabar.LeftMargin = 4
codabar.RightMargin = 4
codabar.TopMargin = 4
codabar.BottomMargin = 4

' Codabar image orientation, 0, 90, 180, 270 degrees supported.
codabar.Orientation = KeepAutomation.Barcode.Orientation.Degree90

' Set Codabar human-readable text style
codabar.DisplayText = true
codabar.TextFont = new Font("Arial", 10f, FontStyle.Regular)
codabar.TextMargin = 7

' Print and save Codabar bar codes in Png, Gif, Jpeg/Jpg, Tiff, Bmp image formats.
codabar.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
codabar.generateBarcodeToImageFile("C://codabar_in_vb.png")