.NET barcode generator library  >  vb.net barcode making component  >  make industrial 2 of 5 barcode for .NET with VB


VB .NET Code 2 of 5 Barcode Generator

Insert, create industrial 2 of 5, standard 2 of 5 barcode with vb.net in Visual Studio


Overview

Code 2 of 5, a.k.a. standard 2 of 5, two-out-of-five code, 2 of 5 VB.NET Barcode Generator, provided by KeepDynamic.com, is a two-out-of-five code creator. It helps you easily and simply to create Code 25 barcodes in your .NET projects.

Related barcode solutions for creating Code 2 of 5 barcode images



Features

Code 2 of 5 VB.NET Barcode Generator Technologies

Our Code 2 of 5 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 Code 2 of 5 barcodes into your VB.NET apps. Code 2 of 5 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 Code 2 of 5 in Reporting Service & Crystal Reports.

Two-out-of-five code barcode images generated by Barcode Generator for VB.NET

This Code 2 of 5 VB.NET Barcode Generator supports the image formats such as JPEG, GIF, TIFF, BMP, and PNG. Properties of two-out-of-five code, 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 Code 2 of 5 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 two-out-of-five code Barcodes

Two-out-of-five code VB.NET Barcode generator provides diversified options for easily customizing the Code 2 of 5 barcodes. Text Options enables or disables the human-readable text in the Code 2 of 5 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 two-out-of-five code barcode are easy to be generated

Code 2 of 5 Source code and Developer License

Code 2 of 5 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 Code 2 of 5 in VB.NET

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


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

'Change the barcode type to Code 25 symbology
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,
'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 Visual Basic .NET
'Generate Code 25 image in VB.NET

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