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 EAN-128 Size in C#
Visual C#.NET EAN-128/GS1-128 Generator is a robust barcode generating class library/DLL, allowing users to efficiently make, render EAN-128/GS1-128 with DrawView control in C#.NET according to its latest barcode specification in GS1 system.
Using C#.NET EAN-128/GS1-128 Generator, users may control, modify EAN-128/GS1-128 margin size of right, left, top & bottom and human-readable text with customize font size, text margin with little efforts. This guide provides a comprehensive C# sample coding for EAN-128/GS1-128 size setting in C#.NET; other please go to
EAN-128/GS1-128 Size Related Properties

Encoded Characters

Users may encode EAN-128/GS1-128 barcode with its valid character set using Code property. For the fixed bar width and height, the longer the encode data length, the larger EAN-128/GS1-128 barcode size.

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 EAN-128/GS1-128 barcode using QuietMargin related property, including TopMargin, BottomMargin, RightMargin and LeftMargin.

Bar Width & Height

Users may quickly change EAN-128/GS1-128 barcode 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 EAN-128/GS1-128 barcode using BarcodeWidth and BarcodeHeight in accordance with users' needs.
Customize EAN-128/GS1-128 Barcode Sizes in C#.NET
If you want to adjust EAN-128/GS1-128 image size in C#.NET, be sure that you have installed:
Customize EAN-128/GS1-128 Barcode Size in C#.NET
Copy those following code onto your C#.NET projects:
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN128;
barcode.Code = "(01)2549464641564987";

barcode.drawBarcode2SizeFile("c:/ean-128-csharp.gif");
Change EAN-128/GS1-128 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;
Encode Variable Data Length for EAN-128/GS1-128 Barcode
Code default value in Barcode Generator for .NET Ultimate is "".

Copy those following code to change your data length:
barcode.Code = "(01)25494";
Adjust EAN-128/GS1-128 Bar Width and Height
BarWidth and BarHeight default value in Barcode Generator for .NET Ultimate are 3 pixel and 60 pixel.

Copy those following code to specify your module width and height:
barcode.BarHeight = 75;
barcode.BarWidth = 3;
Specify EAN-128/GS1-128 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 EAN-128/GS1-128 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;