There are nine linear barcode symbologies supported by pqScan .NET Library for Barcode Scanning, including ITF-14 barcode symbol. And this page is an online tutorial for how to read and decode ITF-14 barcode from loaded image file using C# and VB.NET programming codes. Please firstly download this mature .NET barcode decoder library free trial online, and then follow this guide to have a test.
In all, three parts are included on this tutorial. In the first and second parts, you will get free C# sample code and VB.NET sample code for scanning and decoding ITF-14 1D barcodes from image source. Then, the third part will tell you the supported .NET ITF-14 barcode recognition functions that can be implemented in Visual C# and Visual Basic applications. Now, let's see details as below.
C# Sample for ITF-14 Scanning
By using the following C# sample code in your Visual Studio .NET barcode recognition application, you can easily decode and read ITF-14 barcode from a local image file. Certainly, you may also have a try with provided C#.NET APIs to recognize ITF-14 linear barcode from an image string or a bitmap of image file.
public void ScanITF14FromFile(string filename)
// Free C# demo code for reading ITF-14 1d barcode from a local image file.
BarcodeResult results = BarCodeScanner.Scan(filename, BarCodeType.ITF14);
// Free C# APIs for reading ITF-14 1d barcode from an image stream or a bitmap of image.
// public static BarcodeResult Scan(Bitmap bitmap, BarCodeType barType);
// public static BarcodeResult Scan(Stream stream, BarCodeType barType);
foreach (BarcodeResult result in results)
Console.WriteLine(result.BarType.ToString() + "-" + result.Data);
VB.NET Sample for ITF-14 Scanning
Different from above C#.NET class code which defines ITF-14 as the only barcode type to be decoded, the following VB.NET sample code can be used to detect and read all barcode symbologies from loaded image file. Respective APIs for ITF-14 decoding from image stream or bitmap of image are still offered
Public Sub ScanAllFromFile(ByVal filename As String)
' Free Visual Basic class code for decoding ITF-14 barcode from a local image file.
Dim results() As BarcodeResult = BarCodeScanner.Scan(filename)
' Free Visual Basic APIs for decoding ITF-14 barcode from an image stream or a bitmap of image.
' public static BarcodeResult Scan(Bitmap bitmap)
' public static BarcodeResult Scan(Stream stream)
Dim result As BarcodeResult
For Each result In results
Console.WriteLine(result.BarType.ToString() + "-" + result.Data)
ITF-14 Recognition Functions for C# & VB
User-defined ITF-14 Reading Methods
By using well-developed .NET APIs, C# and VB.NET programmers may choose to read ITF-14 barcode type only or read all barcodes from image source. As you see, the above free demos explain for each.
Support Rotated ITF-14 Barcode Decoding
If your ITF-14 linear barcode is rotated on image file in 180 degrees, it can also be detected and recognized at fast speed. And the recognition result will include both barcode type and barcode data in array form.
Support Several Image Files in Three Forms
You are able to load Jpg/Jpeg, Gif, Png, Bmp, and Tiff/Tif image files into Visual Studio C# or VB.NET project and read ITF-14 bar codes. All these image files can be loaded as image string, image stream or bitmap of image.