.NET Barcode for WinForms          ASP.NET Barcode          .NET Barcode Reader          Java Barcode          Java Barcode Reader
Avapose > QR Code Introduction > QR Code Size Setting

QR Code Size Setting

QR Code Generator Size Setting, Generate QR Code in C#, ASP.NET, VB.NET applications

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

Barcode structure
The components of QR Code barcode include quiet zone, finder pattern, (timing pattern), separator, and the encoding region (for format & version information and data & error correction code words).


QR Code Size Setting

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


QR Code



W
= [ 8 * 2 + ( 4V + 1) ] X + 2Q

W: barcode width of QR Code (including quiet zone)
H: barcode height of QR Code (including quiet zone)
V: version of the QR Code (1<=V<=40)
X: module width of QR Code
Q: width of quiet zone; Q = 4X


Barcode Width:

The QR Code barcode width, W (measured in pixel), including quiet zones, can be calculated from the following expression:


QR Code




According to ISO/IEC 18004-2006 QR Code 2005 bar code symbology specification, the height of a QR Code symbology shall be equal to QR Code barcode width.

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