Set QR Code Image Size using Winforms Barcode Library/SDK for Windows Forms
QR Code Size Setting using Winforms .NET Barcode Generator with VB/C#.NET
How to Set QR Code Barcode Size using Winforms Barcode Library
It is easy to add and print QR Code in Windows Forms using .NET barcode generator/library with C# & VB.NET class library. Perpetual license and pure C# source code are included in the purchased version.
QR Code barcodes is easy to be generated in Winforms, ASP.NET, SQL Reporting Services, Native Crystal Reports, RDLC reports etc. using .NET barcode generators. Most common used barcode controls in Aspper.com are:
QR Code Size Setting in Winforms Application using C#, VB.NET Class library
Set up Requirements
QR Code barcodes are all pre-configured and based on the ISO/IEC 18004:2006, complex configuration are not needed to use this Winforms barcode generator. Make sure the installation of following items are complete before QR Code generatio:
- Operating systems like Windows 7, Windows Vista and Windows XP
- Microsoft .NET Framework 2.0, 3.0, 3.5 and above versions
- VB.NET, C#.NET, or Borland Delphi
- QR Code barcode generator/library for Windows Forms
Download & Installation
QR Code barcode generator could be easily installed with few click on Windows Forms applications in Visual Studio 2005 and 2010. Step-by-step user guide
- Download Winforms free trial package and unzip it on developer's computer
- Add reference: Add "Aspper.win.matrixbarcode.dll" to Winforms application reference Add to toolbox: To add "WinMatrix" to your Visual Studio toolbox
Size Setting Related Properties of QR Code
It is easy to set QR Code barcode image through property setting panel or C# or VB.NET programming. Parameter details please refer to:
QR Code Special
QRCodeVersion --- Easy to set QR Code version. Valid value ranges from V1 to V40.
Basic Size Setting
Resize --- Set it to true, QR Code barcode size will be resized if manual setting does not meet its barcode specification.
BarcodeHeight --- Modify QR Code barcode height using C#, VB.NET codes.
BarcodeWidth --- Set QR Code width of the entire barcode image.
X --- Set Barcode module width (narrow bar).
Y --- Set the 2D barcode module height.
BarWidth_X --- Adjust the width of the barcode narrowest bar.
BarHeight_Y --- Customize the height of the QR Code barcode bar.
HoriBarAlignment --- Using this property to set bar alignment of barcode. Valid values are Center, Left, and Right.
MeasurementUnit --- Modify unit of measure for QR Code barcode property. Valid values are Cm, Inch, and Pixel.
BottomMargin --- Set QR Code barcode top margin using C# or VB.NET codes.
LeftMargin --- Using this property to set width of the barcode left margin of QR Code.
RightMargin --- Set width of the QR Code barcode right margin using .NET barcode control.
TopMargin --- Using the parameter to adjust height of the QR Code barcode top margin using C# or VB.NET class library.
It is easy to modify ohter barcode size using .NET programming in Windows Forms, details please refer to: