.NET Barcode Generator
for Windows Forms Application
Winforms .NET Barcode Generation SDK
Barcode .NET WinForms > Barcode in .NET WinForms > Code 128 > Barcode Info > Code 128 Size
Barcode Size
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:

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:
  1. Download Winforms evaluation package for free and unzip
  2. Add reference: Add "Aspper.win.linearbarcode.dll" to your Winforms project reference
  3. 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.

Margin Setting

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.