Home > VB.NET Barcode Generator > VB.NET linear Barcode Generator - Code 2 of 5 Generator

Code 2 of 5 Barcode Generator in VB.NET

How to generate and print barcode 2 of 5(Code 25 Industrial) in VB.NET applications

  • Create, draw and print Code 2 of 5 barcodes in Visual Basic ASP.NET Web Forms and VB.NET Winforms applications

  • Generate Code 2 of 5 in VB.NET class & console application, SQL Server Reporting Service (SSRS) & Crystal Reports for .NET projects

  • 100% run in Visual Basic.NET and compatible with .NET 2.0/3.0/3.5 and advanced version

  • Provide N option to easily adjust Code 2 of 5 wide/narrow ratio

  • Easy to be integrate barcode generating component into Microsoft Visual Studio, and support VS 2005/2008/2010

  • Support high-quality barcode image format to be generated, including Gif, Jpeg, Png, Tiff, Bmp, Emf, Exif, Icon and Memory Bmp

  • Flexible barcode sizing option to change Code 2 of 5 sizing by adjusting module size

  • Enable or disable human-readable text with customizable font, color, margin

  • Mature barcode generating component DLL

VB.NET Barcode Generator for Barcode 2 of 5 Industrial Generation - Overview

VB.NET Code 2 of 5 generator is one part of VB.NET barcode generator, which is a mature, easy-to-use barcode generating component for making 20+ linear and 2D barcodes in VB.NET projects.

VB.NET Code 2 of 5 generator can be easily and completely developed in Visual Basic.NET development environment. .NET 2.0 and later version are supported. Multiple barcode image and other option over every aspect of Code 2 of 5 barcode properties are provides for you.

Code 2 of 5 Information

  • low-density linear barcode symbology with varible length

  • History: have been used since 1960s

  • Aka: Standard 2 of 5, Industrial 2 of 5, two-out-of-five code

  • Using Field: photofinishing, warehouse sorting industries, numbering airline tickets

  • Encode Charater set:

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

Development Environment

  • Windows Forms Application (design-time and runtime support)

  • .NET Web Forms Web site (design-time and runtime support)

  • Console Application (runtime support)

  • .NET Web Service Project (runtime support)

  • Crystal Reports for .NET Application (runtime support)

  • Windows Service (runtime support)

  • Class Library (runtime support)

Generate and print Code 2 of 5 barcode uisng VB.NET Barcode Generator

Generate Code 2 of 5 in VB.NET class:


Dim barcode As Avapose.Barcode.Encoder.ClassLibrary.BarCode = New Avapose.Barcode.Encoder.ClassLibrary.BarCode

barcode.Symbology = Avapose.Barcode.Encoder.ClassLibrary.Symbology.Code2of5


// Code 2 of 5 valid character set

barcode.Data = "5102"


// Code 2 of 5 wide/narrow ratio, 2.0-3.0 inclusive

barcode.N = 3


// Code 2 of 5 basic settings, including sizing, color, etc

barcode.UOM = Avapose.Barcode.Encoder.ClassLibrary.UnitOfMeasure.Pixel

barcode.X = 6

barcode.Y = 6

barcode.BarcodeImageWidth = 175

barcode.BarcodeImageHeight = 50

barcode.Angle = Avapose.Barcode.Encoder.ClassLibrary.Angle.Degree0

barcode.AutoResize = True


// Code 2 of 5 text releted seeting, including color, font, margin

barcode.ShowText = True

barcode.TextColor = Color.Blue


// Code 2 of 5 barcode image format set

barcode.draw(".../code25.png")

codabar





Related Code 2of5 Barcode Integration & Generation Information

The following Code 2of5 barcode integration and creation information links relate to this product that may be of interest to you: