BizCode Barcode Generator for .NET Ultimate
The most robust & powerful barcode generating SDK for Microsoft .NET Framework
Quick Overviews
  • Mature barcode creating SDK
  • Support .NET 2.0/3.0/4.0
  • 100% developed in C#.NET
  • Dynamic barcodes support
  • User-defined controls provided
How to Set QR Code Size in VB.NET
C#.NET QR Code Generator is an easy-to-use barcode generating component, completely written in C#.NET 2.0/3.0/4.0, which can be efficiently integrated QR Code creating & printing features into your C#.NET projects.
With C#.NET QR Code Generator, all the QR Code generation is compatible with the ISO QR Code specification - ISO / IEC 18004 (2nd edition 2006-09-01). Besides, it absolutely supports GS1 system standard of QR Code generation. Here is a user manual for generating QR Code barcode with specified size in C#.NET; others please see:
QR Code Size Related Properties

QR Code Version

Users may choose different QR Code symbol size from 21x21 to 177x177 using Version property.

QR Code ECL

Users may change QR Code symbol size with four different error correction levels - L, M, H, and Q using ECL property.

Barcode Unit

Users may choose three different barcode unit measurements - pixel, cm and inch to measure all barcode size related properties using BarcodeUnit property.

Quiet Margin

Users may easily change the quiet zone size of generated QR Codebarcode using QuietMargin related property, including TopMargin, BottomMargin, RightMargin and LeftMargin.

Bar Width & Height

Users may quickly change QR Codebarcode size through setting bar width and height using BarWidth and BarHeight property.

Barcode Width & Height

Users may set the whole barcode width and height of QR Codebarcode using BarcodeWidth and BarcodeHeight in accordance with users' needs.
Customize QR Code Barcode Size in C#.NET
If you want to adjust QR Code image size in C#.NET, be sure that you have installed:
Customize QR Code Barcode Size in C#.NET
Copy those following code onto your C#.NET projects:
using BusinessRefinery.Barcode;

QRCode Barcode = new QRCode();
barcode.Code = "123456789";
barcode.drawBarcode2SizeFile("c:/qr-code-csharp.gif");
Change QR Code Barcode Unit Measuirement
BarcodUnit default value in Barcode Generator for .NET Ultimate is BarcodeUnit.PIXEL.

Copy those following code to change your unit measurement for all size related properties:
barcode.BarcodeUnit = BarcodeUnit.PIXEL;
Choose 40 differernt versions for QR Code barcode
Version default value in Barcode Generator for .NET Ultimate is QRCodeVersion.V1.

Copy those following code to choose QR Code barcode version:
barcode.Version = QRCodeVersion.V1;
Select QR Code Error Correction Level
ECL default value in Barcode Generator for .NET Ultimate is QRCodeECL.L.

Copy those following code to change QR Code error correction level:
barcode.ECL = QRCodeECL.H;
Adjust QR Code Bar Width and Height
ModuleSize default value in Barcode Generator for .NET Ultimate is 3 pixel.

Copy those following code to specify your module size:
barcode.ModuleSize = 3;
Specify QR Code Barcode Width & Height
BarcodeWidth and BarcodeHeight default value in Barcode Generator for .NET Ultimate are 0 respectively.

Copy those following code to specify your barcode width and height:
barcode.BarcodeHeight = 100;
barcode.BarcodeWidth = 500;
Control QR Code Barcode Quiet Margin
BottomMargin, TopMargin , LeftMargin and RightMargin default value in Barcode Generator for .NET Ultimate is 0 respectively.

Copy those following code to change your quiet margin size:
barcode.BottomMargin = 7;
barcode.TopMargin = 7;
barcode.LeftMargin = 5;
barcode.RightMargin = 5;