Excel Code 128 Generator Size Setting Tutorial

samples to generate linear Code 128 images and adjust barcode size in Excel



Excel Code 128 Add-In Introduction

Excel Code 128 Add-In

Code 128, also known as ANSI/AIM 128, ANSI/AIM Code 128, USS Code 128, Uniform Symbology Specification Code 128, is a very capable linear barcode of excellent density, high reliability.


More barcode generating in Excel:


It is a Code 128 generator for Microsoft Excel which can generate high quality Code 128 images in Microsoft Excel by setting the Code 128 size, data, image formats and image color. Over 50 properties are available for your programming design.

More information about Code 128 barcode settings in Excel Barcode Generator,please see:


Related Code 128 Generator

Excluding Excel Code 128 Add-In, Onbarcode provides other related Code 128 Generators to set the Code 128 size by setting Bar Width, Bar Height, Image Width and Image Height:

.NET Code 128 Generation SDK - Easy to generate Code 128 images for various .NET applications by setting the Code 128 Bar Width;

.NET WinForms Code 128 Generator Control - Easily draw various formats Code 128 images for Windows Forms applications by changing the Bar Height;

VB.NET Code 128 Generation Component - Simply output high quality Code 128 for VB.NET projects with adjusting the Image Width.

Android Code 128 Generation Component - Easily encode, draw high-quality Code 128 for Android platforms with changing the Bar Width;

Word Code 128 Generation Component - Simple to generate, print high-quality Code 128 for Microsoft Word 2003-2010 documents by adjusting the Bar Height;

Excel Code 128 Add-In Size Setting

Excel Code 128 Add-In Size Setting allows easy integration to set the size of Code 128 Bar Width, Image Width and Bar Height and Image Height. You may adjust these properties during your generating Code 128 procedure.

Excel Code 128 Bar Width Setting - Minimum X

Excel Code 128 Bar Width is the width of the generated Code 128 narrow bar when using Excel Code 128 Add-In. You may set the below properties to set minimum bar width(X):

1. Set the barcode type: CODE 128

2. Set the data: 610213

3. Set the Bar Width: 3

4. Customize the other properties.

The generated Code 128 image will be like this:



Excel Code 128 Image Width Setting - Fixed W

Excel Code 128 Image Width is the Width of the created Code 128 image when using Code 128 Excel Add-In. You may set the following properties to adjust a fixed image width(W):

1. Set the barcode type: CODE 128

2. Set the data: 213610

3. Set the Image Width: 122

4. Customize the other properties.

The generated Code 128 image will be like this:



Excel Code 128 Bar Width & Image Width Setting

Code 128 Excel Add-In allows setting the bar width and image width at the same time.

1. Set the barcode type: CODE 128

2. Set the data: 18025655

3. Set the Bar Width: 2

4. Set the Image Width:120

5. Customize the other properties.

The generated Code 128 image will be like this:



Note that Onbarcode Excel Code 128 Generator will automatically generate a Code 128 image with a minimum Image Width when a fixed X is set. In this case, there are two situations:

1. If you set a image width value, which is less than the minimum image width, the generated image width will be the minimum Image Width. When it occurs, see Excel Code 128 Bar Width Setting - Minimum X and Excel Code 128 Image Width Setting - Fixed W.

2. If you set a image width value, which is more than the minimum image width, Excel Add-in will fill the difference with left and right margins generated automatically.

Excel Code 128 Bar Height Setting

The height of Code 128 barcode image is made up by the width of the following five parts:

Top Margin

Bar Height

Text Margin

Text Height

Bottom Margin

The height of barcode image is difficult to make sure, because the height of the text differs when font size and style changed. Even though, the image height should be 5 mm or 15% of the image width.

Our software can automatically make proper correction for your Code 128 to compatible with ISO / IEC 16388 (2nd edition 2007-05-15).

Property Name Property Description Property Range
Bar Height The height of the bars in Code 128 Float
Text Margin The width of the space between barcode and text Float
Text Height The height of text font below the bars and spaces -
Top Margin Width The height of the top margin Float
Bottom Margin Width The height of the bottom margin Float



Excel Barcode Generator Supporting Bar Code Types









OnBarcode is a market-leading provider of barcode generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.