Code 128 Barcode Size Setting using Winforms Generator
Generate Code 128 with Customized Size using C#/VB.NET Class using Barcode SDK for Windows Forms
Create Dynamic Code 128 Barcode Images with Customized Size using Winforms Barcode Library
Code 128 .NET Barcode Generator/SDK is designed to generate dynamic Code 128 barcodes with customized size in Windows Forms applications using VB or C# codes. Barcode properties related to Code 128 size could be easily modified to meet specific requirements.
It is easy to generate dynamic Code 128 in Windows Forms, web applications, SQL Reporting Services, RDLC etc. using barcode library provided by aspper.com, royalty free license and source code are provided in purchase version.
Code 128 Size Setting in Windows Forms using C#, VB.NET Class Library
Set up Requirements
Make sure you complete installation of the following items before Code 128 barcode generation in Windows Forms applications:
- Visual Studio 2005 or 2008
- .NET Framework 2.0, 3.0, 3.5 and above versions
- Operating Systems include Microsoft Windows XP, Vista, XP/64, Server 2003, Server 2008, Windows 7
- .NET barcode generator/library for Windows Forms application
Download & Installation
In this page we provide you detail barcode control tutorial of how to use .NET barcode control for Winforms to create linear and 2D barcodes in Winforms.NET. This guide includes:
- Download Winforms evaluation package for free and unzip
- Add reference: Add "Aspper.win.linearbarcode.dll" to your Winforms project reference
- Add to toolbox: To add "WinLinear" to your Visual Studio toolbox
Code 128 Size Setting Related Properties
It is easy to generate and print Code 128 barcode images with customized size according to specific requirements. .NET programmers are entitled to change code 128 barcode height, margin etc. using VB.NET or C#.NET barcode codes.
BottomMargin --- Easy to set the height of the barcode top margin using C# or VB.NET codes.
LeftMargin --- Using this property to set width of the barcode left margin of Code 128.
RightMargin --- Using C# or VB.NET codes to set width of the Code 128 barcode right margin using .NET barcode control. TopMargin --- Using the parameter to adjust height of the barcode top margin.
Height & UOM
Resize --- Set this property to true, Winforms barcode control will reset Code 128 barcode size when manual setting does not meet its barcode specification. Default value is False.
BarcodeHeight --- Set the height of the whole Code 128 barcode image.
BarcodeWidth --- Set the width of the entire barcode image using C#, VB.NET codes.
BarWidth_X --- Adjust the width of the barcode narrowest bar.
BarHeight_Y --- Adjust the height of the Code 128 barcode bar (Y).
HoriBarAlignment --- Using this property to set bar alignment of barcode. Valid values are Center, Left, and Right.
MeasurementUnit --- Modifty unit of measure for Code 128 barcode property settings. Valid values are Cm, Inch, and Pixel.