Interleaved 2 of 5 Size Setting Instruction

Interleaved 2 of 5 Barcode Size Setting

Interleaved 2 of 5 barcode size is customizable during barcode generation. Our Interleaved 2 of 5 generation and recognization controls grant customers to set the Interleaved 2 of 5 image size freely.

Interleaved 2 of 5 Structure

  • W : the width of Interleaved 2 of 5.
  • X : the width of Interleaved 2 of 5 narrow bar; X min = 1 pixel.
  • N : the wide bar to narrow bar ratio; from 2.0 to 3.0, inclusive.
  • P : the number of character pairs.
  • Q : the width of the quiet zone; minimum is 10X.



Interleaved 2 of 5 Barcode Width

Interleaved 2 of 5 barcode width, W (measured in pixel), including quiet zones, can be calculated from the following expression:


W = [ P ( 4N + 6 ) +N + 6 ) ] X + 2Q


Then the minimum value of W can be calculated as below:


N min = 2 , Q min = 10X .
W min = [ P ( 4 * 2 + 6 ) + 2 + 6 ] X + 2 * 10X
= ( 14P + 8 ) X + 20 X
= ( 14P + 28 ) X
If, X min = 1 , W min = 14P + 28
Eg. Interleaved 2 of 5 data = " 1234 " , P = 2 .
W min = 14P + 28 = 28 + 28 = 56 pixel



Interleaved 2 of 5 Barcode Height

There are no rigid requirements for the height of Interleaved 2 of 5 in ISO/IEC 16390:2007(E). The recommended minimum bar code height for manual scanning: 5.0 mm or 15 % of symbol width excluding quiet zones, whichever is greater.

Our Interleaved 2 of 5 generators will set the height of Interleaved 2 of 5 automatically. Meanwhile, customers may adjust the barcode height through Top and Bottom Margin settings.

OnBarcode provides details of Interleaved 2 of 5 Barcode Size Setting in C#.




OnBarcode is a market-leading provider of barcode generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.