.NET barcode printing component  >  vb.net barcode generating library  >  add codebar barcode with vb.net


Codabar Barcode VB.NET Creation SDK

easy to integrate the Codebar printing sdk into .NET framework apps with Visual Basic


Overview

Codabar VB.NET Barcode generator, provided by KeepDynamic.com, is a Codabar creator. It aims to help you easily and simply create Codabar in your .NET projects.

Related barcode solutions for creating Codabar images

Features

Codabar VB.NET Barcode Generator Technologies

Our Codabar Barcode Generator for VB.NET is completely developed in .NET 2.0, and is compatible with the .NET 2.0 and greater development environments. You can easily integrate Codabar barcodes into your VB.NET apps. Codabar is also able to be immediately generated in your VB.NET Classes and console apps. In VB.NET, ASP.NET web projects, and VB.NET Windows Forms software, barcode images can be easily created. This VB.NET Barcode Generator also supports the generation of Codabar barcodes in Reporting Service & Crystal Reports.

Codabar barcode images generated by Barcode Generator for VB.NET

This Codabar VB.NET Barcode Generator supports the image formats such as JPEG, GIF, TIFF, BMP, and PNG. Properties of Codabar, such as the barcode size, are able to be configured according to users' requirements and the image orientation support 0, 90, 180, or 270 degrees. With the thermal printer support, high quality Codabar barcode images are able to be printed on high resolution printers as well as on low resolution printers. White bar increase option increases the blank space between the bars for improving the readability.

Customization of Codabar Barcodes

Codabar VB.NET Barcode generator provides diversified options for easily customizing the Codabar barcodes. Text Options enables or disables the human-readable text in the Codabar VB. NET barcode generator. Graphic Configuration Options configure the colors of the foreground and background. Tilde Functions allow the functions, such as returns, tabs and other ones, to be encoded easily. Bearer bar for Codabar barcode are easy to be generated

Codabar barcode Source code and Developer License

Codabar VB.NET source code is supplied with the purchase of unlimited developer licenses. Royalty will be free with the purchase of a Developer License.

Create Codabar in VB.NET

Imports KeepDynamic.Barcode.Generator
Imports System.Drawing.Imaging


Dim barcode As KeepDynamic.Barcode.Generator.BarCode
barcode = New KeepDynamic.Barcode.Generator.BarCode()

'Set the symbology type to Codabar 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 for 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,
'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", 11.0F, FontStyle.Regular)

'Set Codabar barcode drawing image format to PNG in VB.NET
'Generate Codabar image in VB.NET

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