ITF-14 Barcode FAQ in Barcode Generator Using C#.NET

Reliable & robust .NET barcode control DLL to generate and adjust ITF-14 barcode using C# class
Barcode in C# > Linear > ITF-14 FAQ
Barcode Control SDK to Generate Barcode Image Using C#.NET - ITF-14 Barcode FAQ in C#
ITF-14 barcode library SDK for C#.NET projects is a robust and mature .NET component DLL supports ITF-14 barcode creation and modification in C#.NET applications including windows applications and ASP.NET web projects. Developers are easy to adjust ITF-14 barcode images through C# class library with free sample provided.
This article walkthroughs the detail ITF-14 barcode settings in C#.NET project with the following aspects:
  • Barcode Control SDK to Generate Barcode Image Using C#.NET - ITF-14 Barcode Data Encoding
  • Barcode Control SDK to Generate Barcode Image Using C#.NET - ITF-14 Barcode Special Settings
  • Barcode Control SDK to Generate Barcode Image Using C#.NET - ITF-14 Barcode Size Adjustment
  • Barcode Control SDK to Generate Barcode Image Using C#.NET - ITF-14 Barcode Image Customization
  • Barcode Control SDK to Generate Barcode Image Using C#.NET - ITF-14 Barcode Solution Project Support
Barcode Control SDK to Create Barcode Using C#.NET - ITF-14 Barcode Data Encoding
ITF-14 Linear Barcode Valid Data
The data encodes in ITF-14 is numeric digits from 0 to 9. The value to encode passed to NET barcode library DLL in C# should be 13 digits only because the 14th digit (the checksum) is automatically calculated by Terrek.Barcode Generator SDK. Users are free to input ITF-14 data via BarcodeData property. ITF-14 C#.NET sample code:
   barcode. Symbol = BarcodeSymbol.ITF14;
ITF-14 Barcode Human-readable Text
The human-readable text of ITF-14 is flexible to be enabled or disabled in barcode symbols. Users may apply this property through DisplayData. Once enabling the input data in barcode symbol, text color, text space, and text font style are adjustable via TextColor, TextSpace, TextStyle property. ITF-14 C#.NET Sample Code:
   barcode.DisplayData = true;
barcode.TextStyle = new Font("Arial", 9f, FontStyle.Regular);
barcode.TextColor = Color.Gray;
barcode.TextSpace = 10;
Barcode Control SDK to Create Barcode Using C#.NET - ITF-14 Barcode Special Settings
ITF-14 Bearer Bars
ITF-14 barcode symbol has a unique Bearer Bar that is usually mandatory. But for some specified applications, it can be removed. When a skewed scanning beam enters the barcode symbol through its top or bottom edge, this bar can help reduce the probability of misreads or short scans. Users may use BearerBarLnR, BearerBarTnB properties to customize bearer bar. ITF-14 C#.NET Sample Code:
   barcode.BearerBarLnR = 1;
barcode.BearerBarTnB = 1;
ITF-14 Wide to Narrow Ratio
As the name specified, it means the ratio between wide bar and narrow bar, the value ranges from 2.0 to 3.0. The default is 2, developers may change the value through WideVSNarrow property in C#.NET applications. ITF-14 C#.NET Sample Code:
   barcode. WideVSNarrow = 2.0f;
Barcode Control SDK to Generate Barcode Using C#.NET - ITF-14 Barcode Size Adjustment
ITF-14 Barcode UOM (Unit of Measure)
Set property MeasuringUnit for properties BarWidth, BarHeight, MarginL and MarginT. Valid values are PIXEL, CM and INCH. Default is PIXEL. With this UOM setting, users can control the whole barcode size to a unique type. ITF-14 C#.NET Sample Code:
   barcode.MeasuringUnit = MeasuringUnit.INCH;
ITF-14 Barcode Module Size
ITF-14 bar size refers to the BarWidth and BarHeight of a module bar in C#.NET class. When developers need to create barcodes with a fixed bar width, these two properties need to be implemented. With the ImageResize applied, image width & image height are changed according to the customization of bar width and bar height. ITF-14 C#.NET Sample Code:
   barcode.ImageResize = true;
barcode.BarWidth = 2;
barcode.BarHeight =70;
ITF-14 Barcode Image Size
ITF-14 image size refers to the whole barcode image size including image width and image height. If the module size is unknown, you can set the ImageHeight and ImageWidth directly in C#.NET class with the applying of ImageResize to true. The generated ITF-14 strictly conforms to International Standard ISO/IEC 15420. ITF-14 C#.NET Sample Code:
   barcode.ImageWidth = 100;
barcode.ImageHeight = 100;
ITF-14 Barcode Margin Size
Increasing the width of margins around the symbol is one way to enhance the readability of the ITF-14 barcode image. The C# barcode control library DLL set the left, right, top, and bottom margins separately with float values. The default value is 0. ITF-14 C#.NET Sample Code:
   barcode. MarginL = 3;
barcode. MarginR = 3;
barcode. MarginT = 3;
barcode. MarginB = 3;
Barcode Control SDK to Create Barcode Using C#.NET - ITF-14 Barcode Image Customization
ITF-14 Barcode Image Format
ITF-14 is displayed as image in C#.NET projects with Terrek.Barcode library SDK. The type is System.Drawing.Imaging.ImageFormat. The valid image format values are Gif, Tiff, Bmp, Png, Jpeg, etc. Please ensure the accordance of image format and suffix of image file name. UPC-A C#.NET Sample Code:
   barcode.BarcodeFormat = System.Drawing.Imaging.ImageFormat.Png;
barcode.drawBarcode("C:\\itf14.png");
ITF-14 Barcode Image Resolution
DPI (Dots per inch) is used commonly as the measure of printing resolution. The resolution of image generated by ITF-14 generator could be managed with DPI. The type is int, default value is 96 dpi. Users can change the resolution via DotsPerInch property. UPC-A C#.NET Sample Code:
   barcode.DotsPerInch = 96;
ITF-14 Barcode Image Position
The integrated ITF-14 barcode is flexible to change the placement in C#.NET projects. By customizing the BarAlign properly, the image is presented left, right or center in documents or projects. By changing Rotation property, the image can be rotated to 90, 180, and 270 degrees. The default is 0 degree. UPC-A C#.NET Sample Code:
   barcode.Rotation = Rotation.Degree90;
barcode.BarAlign = BarAlign.Center;
ITF-14 Barcode Image Color
It is able to change barcode colors with barcode control library DLL using C#.NET class. Both background color and foreground color are easy to be changed by manipulating ImageColor and BarColor respectively. The default color is white and black. UPC-A C#.NET Sample Code:
   barcode. ImageColor = Color.White;
barcode. BarColor = Color.Black;
Barcode Control SDK to Create Barcode Using C#.NET - ITF-14 Barcode Solution Project
Using C# programming to create ITF-14 images, there are a lot of development platforms can be implemented this barcode solution. See guide to create barcode images using C#.NET class. And the following projects can be adopted to fulfill your ITF-14 barcode images generation in .NET projects.
  • Windows Forms Application (design-time and runtime support)
  • Console Application (runtime support)
  • Class Library (runtime support)
  • Windows Service (runtime support)
  • ASP.NET Applications (design-time and runtime support)
  • Web Service (runtime support)
  • Crystal Report for .NET (runtime support)
  • Reporting Service Applications (design-time and runtime support)