Overview
  • Easily integrates into the projects without any requirement for additional DLLs
  • Services (SSRS) AND Crystal Reports
  • Support multiple Code 2 of 5 formats including Gif, Png, Jpeg, Tiff, and Bitmap
  • Code 2 of 5 image background color, foreground color and text color are valid to be set to red, black, red, yellow and so on
  • The Code 2 of 5 image resolution can be changed into any value
  • Code 2 of 5 barcode placement can be changed with your need
Business Refinery provides more infomation about Code 2 of 5 barcode setting on VB.NET project:
Code 2 of 5 VB.NET Generator FAQ

1. What VB.NET Development Environment could Code 2 of 5 VB.NET Generator Support?

  • Code 2 of 5 Barcode Generator ASP.NET in VB
  • Code 2 of 5 Barcode for .NET Winforms in VB
  • Code 2 of 5 Barcode Generator Controls for .NET Ultimate in VB
All of the above three .NET development environments can be programmed in Visual Basic with four types of projects, Console application, Class library, and control library, Web server applications that could be developed in Visual VB IDEs.

2. How to Install Code 2 of 5 VB.NET Generator?

The detailed tutorial guide for how to install the Code 2 of 5 VB.NET generator is provided here.

3. How to Set the Valid Image Formats?

Png, Bmp, Jpeg, Tiff and Gif are available for Code 2 of 5 VB.NET generator to be adjusted.

// the default Code 2 of 5 image format is Gif

barcode.Format = System.Drawing.Imaging.ImageFormat.Gif()

barcode.drawBarcode("C://Code 2 of 5.gif")

4. How to Set the Resolution of the Code 2 of 5 Image?

When you need to change the resolution of Code 2 of 5 image inDPI in the VB.NET projects, please set as below:

// the default value of Code 2 of 5 in VB.NET is 72

barcode.Resolution = 72;

5. How to Set the Color of the barcode image?

VB.NET Code 2 of 5 Barcode Generator cannot only generate Code 2 of 5 images with white background color, black foreground color and black text color. You can create colorful Code 2 of 5 images in your professional VB.NET applications.

// the default color of Code 2 of 5 image background color is white

barcode.BackColor = red;

// the default color of Code 2 of 5 image foreground color is black

barcode.ForeColor = black;

// the default color of Code 2 of 5 text background color is black

barcode.TextColor = black;

6. How to change the Code 2 of 5 barcode position in the Image?

Some packaging methods may require special considerations for Code 2 of 5 symbol placement. Bar Alignment and Rotation can be set the change the Code 2 of 5 barcode placement.

// Code 2 of 5 horizontal alignment inside the image. 0:left; 1:center; 2:right. Default is 1.

barcode.BarAlignment = 1 (center);

// Invert the generated Code 2 of 5 image in VB.NET projects.Rotate0; Rotate90; Rotate180; Rotate270. Default is Rotate0.

barcode.Rotate = BusinessRefinery.Barcode.Rotate.Rotate180





Quick Links