How to Set GS1-128/EAN-128 Barcode Size using Barcode Library for Windows Forms
Create and Print GS1-128 with Customized Size using .NET Barcode Generator for Winforms
Modify GS1-128 Barcode Images Size using Barcode Library for Winforms
GS1-128 .NET Barcode Generator/Library is a fully integrated barcode component which generates GS1-128/ EAN-128 barcode in Windows Forms with great ease. This Winforms barcode control could be used as a DLL without being loaded on the form.
Aspper.com provides powerful .NET barcode generators to create GS1-128 in Windows Forms, ASP.NET, SQL Reporting Services, Native Crystal Reports etc. Free to download barcode generators are also available.
GS1-128 Size Setting in Winforms using C#, VB.NET Class Library
Set up Requirements
GS1-128/EAN-128 .NET barcode generator/SDK for Windows Forms could be easily installed in the .NET environment. Make sure installation completed before barcode generation:
- Visual Studio 2005, 2008 and 2010
- .NET Framework 2.0, 3.0, 3.5 and above versions
- Operating Systems like Windows 7, Windows XP and Windows Vista
- GS1-128/EAN-128 .NET barcode generator/library for Windows Forms application
Download & Installation
GS1-128/EAN-128 barcode library could be easily installed on computers with few mouse clicks. Aspper.com provides detailed instructions on how to use .NET barcode component for Winforms to generate barcodes.
- Download Winforms evaluation package for free and unzip it on developer's computer
- Add reference: Add "Aspper.win.linearbarcode.dll" to your Winforms project reference
- Add to toolbox: To add "WinLinear" to your Visual Studio toolbox
GS1-128 Size Setting Related Properties
.NET users are entitled to set GS1-128/EAN-128 barcode size through C# or VB.NET programming or property setting panel in Visual Studio. Parameter details are demonstrated below:
Basic Size Setting
Resize --- Winforms barcode control could reset GS1-128 barcode size if manual setting does not meet its barcode specification.
BarcodeHeight --- Modify GS1-128 barcode height using C#, VB.NET codes.
BarcodeWidth --- Modify EAN-128 width of the entire barcode image.
BarWidth_X --- Adjust the width of the barcode narrowest bar.
BarHeight_Y --- Customize the height of the GS1-128 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 GS1-128 barcode property. Valid values are Cm, Inch, and Pixel.
BottomMargin --- Set GS1-128 barcode top margin using C# or VB.NET codes.
LeftMargin --- Using this property to set width of the barcode left margin of GS1-128.
RightMargin --- Set width of the GS1-128 barcode right margin using .NET barcode control.
TopMargin --- Using the parameter to adjust height of the GS1-128 barcode top margin using C# or VB.NET codes.