.NET barcode encoder  >  vb.net barcode generator api  >  add upc-e barcode printing function with vb.net


VB.NET UPC-E Bar Code Creator

integrate upce barcode generating library with vb.net for .NET framework project templates


Overview

UPC-E, a.k.a. Universal Product Code version E, UPC-E Supplement 5/Five-digit Add-On, UPC-E Supplement 2/Two-digit Add-On, GS1-12, UCC-12, VB.NET Barcode generator, provided by KeepDynamic.com, is a UPC-E creator. It aims to help you easily and simply create UPC-E in your .NET projects.

Related barcode solutions for creating UPC-E images



Features

UPC-E VB.NET Barcode Generator Technologies

Our UPC-E 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 UPC-E barcodes into your VB.NET apps. UPC-E 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 UPC-E barcodes in Reporting Service & Crystal Reports.

UPC-E barcode images generated by Barcode Generator for VB.NET

This UPC-E VB.NET Barcode Generator supports the image formats such as JPEG, GIF, TIFF, BMP, and PNG. Properties of UPC-E, 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 UPC-E 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 UPC-E Barcodes

UPC-E VB.NET Barcode generator provides diversified options for easily customizing the UPC-E barcodes. Text Options enables or disables the human-readable text in the UPC-E 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 UPC-E barcode are easy to be generated

UPC-E barcode Source code and Developer License

UPC-E 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 UPC-E in VB.NET

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


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

'Select the barcode symbology as UPC-E from the barcode type list
barcode.SymbologyType = SymbologyType.UPCE

'Set the encoding data to UPC-E barcode symbology.
'Valid data set of UPC-E consists of,
' Numeric Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
' UPC-A barcode encodes a fixed data length of 6 data digits

barcode.CodeText = "123456"

'Enbable the checksum option for UPC-E
'so that the barcode generator computes check digit to UPC-E automatically
'and the text of the check digit will not be diaplayed on UPC-E image

barcode.EnableChecksum = True

'Select the barcode graphic measurements as Pixel to UPC-E
barcode.GraphicsUnit = KeepDynamic.Barcode.Generator.GraphicsUnit.Pixel

'Assign values of bar width and bar height to UPC-E barcode
barcode.X = 2
barcode.Y = 75

'Set the margins around the UPC-E symbol
barcode.LeftMargin = 0
barcode.RightMargin = 0
barcode.TopMargin = 0
barcode.BottomMargin = 0

'Assign a value to resolution for UPC-E image that is drawn to,
'Do not rotate the orientation of UPC-E image

barcode.Resolution = 72
barcode.Rotate = Rotate.Rotate0

'Display the characters encoded into the UPC-E symbology and
'Set the font style of the human readable text on UPC-E image

barcode.DisplayCodeText = True
barcode.CodeTextFont = New Font("Arial", 11f, FontStyle.Regular)

'Set the export image format of UPC-E to PNG in VB.NET
'Create UPC-E barcode image in VB.NET

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