.NET Barcode for WinForms          ASP.NET Barcode          .NET Barcode Reader          Java Barcode          Java Barcode Reader
Avapose > PDF 417 Introduction > PDF 417 Size Setting

PDF-417 Size Setting

PDF-417 Generator Size Setting, Generate PDF-417 in C#, ASP.NET, VB.NET applications

Size setting overview
This page is on size setting of PDF-417, emphasizing 2 important factors: barcode width and height.

Barcode structure
The components of PDF-417 barcode are Quiet zone, Start pattern, Left row indicator, code words, Data code words, Right row indicator, code words, Stop pattern and Quiet zone.


PDF-417 Size Setting

Barcode Width:
The W (measured in pixel), including quiet zones, can be calculated from the following expression:


PDF-417


W
= 2 Q ( Hori ) + 69X + 17C X

W : the width of PDF-417
Q : the width of the quiet zone; Q min=2X
R : umber of rows in the symbol (3<=R<=90)
C : number of columns in the symbol in the data region (excluding start, stop and row indicator codewords)(1<=C<=30)
X : the width of a module bar; Xmin=1 pixel
Y : module height (also called row height) (Ymin=3X)
H : height of symbol


Barcode Height:

The PDF-417 barcode Height, H(measured in pixel) can be calculated from the following expression:


PDF-417




H = 2Q + R Y (Y >= 3X, Q >= 2X)

For more details on PDF417 size setting, please go through the below guide: