KA.Barcode for .NET Suite
How to Generate ITF-14 in VB.NET Application
How to generate ITF-14 linear barcode images in VB.NET, ASP.NET web applications, and windows forms
  • Written 100% in Visual C#.NET managed code to fully integrate into .NET
  • Generation guide with demo code to create 1D ITF-14 barcodes in Visual Basic.NET
  • Compatible with Microsoft Visual Studio 2005/2008/2010 and other .NET development environments
  • Programmatically make, encode ITF-14 barcode images in ASP.NET web forms, windows forms in VB.NET
  • Integrate ITF-14 1D barcodes in Crystal Reports, SQL Server Reporting Services
  • Automatically calculate and add checksum digit for generated ITF-14 barcodes
  • Compatible with latest GS1 General Specification for valid IF-14
KA.Barcode for .NET is a professional and easy to use barcode control library SDK which allows .NET developers to generate high-quality ITF-14 barcode, and other linear & matrix symbols in .NET applications, such as ASP.NET webform, winforms, C#, VB.NET class & console applications. This guide provides details for you to programmatically create ITF-14 in .NET and adjust related image settings.
ITF-14 Introduction
ITF-14 is is also known as UPC Shipping Container Symbol ITF-14, ITF14, Case Code, UPC Case Code, EAN/UCC-14, EAN-14, UCC-14, DUN-14, GTIN-14, UCC-12, EAN/UCC-13, which is used to mark cartons, cases, or pallets that contain products which have a UPC or EAN product identification number.
  • ITF-14 Encodable Character Set: Numeric digits 0-9
  • ITF-14 Data Length: 13 digits excluding checksum automatically added by KA
ITF-14 Barcode Generation in VB.NET

Install ITF-14 Barcode Encoder for .NET Suite into your Project

  1. 1.
    Download KA.Barcode for .NET Suite evaluation package for free and unzip
  2. 2.
    Add "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll" to reference
  3. 3.
    Add "KeepAutomation.Barcode.Windows" or "KeepAutomation.Barcode.Web" to Visual Studio .NET ToolBox

How to Generate ITF-14 in VB.NET Applications with VB.NET Demo Code

Dim itf14As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
itf14.Symbology = KeepAutomation.Barcode.Symbology.ITF14

' Set ITF-14 valid encoding data: 6 numeric digits.
itf14.CodeToEncode = "1234567890123"

' Apply checksum for ITF-14 barcode.
itf14.ChecksumEnabled = true

' Display ITF-14 checksum in the human-readable text
itf14. DisplayChecksum = true

' ITF-14 unit of measure, Pixel, Cm and Inch supported.
itf14.BarcodeUnit = BarcodeUnit.Pixel

' ITF-14 image resolution in DPI.
itf14.DPI = 72

' ITF-14 module bar width, ie. Width of the narrowest bar (X dimention), default is 1 pixel
itf14.X = 3

' ITF-14 module bar height (Y dimention)
itf14.Y = 60

' ITF-14 margin size, a 10X space is automatically added according to specification.
itf14.LeftMargin = 0
itf14.RightMargin = 0
itf14.TopMargin = 0
itf14.BottomMargin = 0

' ITF-14 image orientation: 0, 90, 180, 270 degrees supported
itf14. Orientation = KeepAutomation.Barcode.Orientation.Degree0;

' Display human readable text
itf14.DisplayText = true
itf14.TextFont = new Font ("Arial", 10f, FontStyle. Regular)
itf14.TextMargin = 6

' Print ITF-14 barcodes in Png, Jpeg, Gif, Tiff, Bmp, etc. image formats.
itf14.ImageFormat = ImageFormat.Png

' Generate and save ITF-14 barcodes to image format

' Create ITF-14 barcodes in Stream object
itf14.generateBarcodeToStream(".NET System.IO.Stream Object")

' Draw & Print ITF-14 barcodes to Graphics object
itf14.generateBarcodeToGraphics(".NET System.Drawing.Graphics Object")

' Generate ITF-14 barcodes & write to byte[]
byte[] barcodeInBytes = itf14.generateBarcodeToByteArray()

' Generate ITF-14 barcodes & encode to System.Drawing.Bitmap object
Bitmap barcodeInBitmap = itf14.generateBarcodeToBitmap();