.NET Barcode Generator
for ASP.NET Web Application
.NET Barcode Generator for ASP.NET
Barcode ASP.NET > Barcode in ASP.NET > Code 39 > Barcode Info > Code 39 Size
Barcode Size
How to Set Code 39 Barcode Size using ASP.NET Barcode Library
Create Code 39 with Customized Size using C# or VB.NET Class Library
Customize Dynamic Code 39 Barcode Image using Barcode Library for ASP.NET Application
Code 39 ASP.NET barcode library is written in C#.NET 2.0. It is easy to add and print Code 39 barcode images into ASP.NET web applications, Microsoft IIS, C#.NET, VB.NET class library, etc with customized size.
.NET users can generate and set Code 39 barcode size using Visual Basic and C# class library. Barcode size is easy to be modified using VB or C# codes or property panel included in Visual Studio once barcode control installation is complete.
Code 39 Size Setting in ASP.NET with C#, VB.NET Class Library

Set up Requirements

Code 39 barcode library for ASP.NET is an easy to use barcode component which allow different implementation methods to create dynamic Code 39 barcode image. Make sure you install the following items before barcode generation:

Download & Installation

Aspper.com provides professional information on how to install and use Code 39 web server library to generate dynamic barcode images. Details please refer to the tutorial page:
  1. Free to download ASP.NET evaluation package and unzip
  2. Add "Aspper.aspnet.linearbarcode.dll" to your ASP.NET project reference
  3. Add "Aspnet.Linear" to Visual Studio toolbox using drag-and-drop implementation method
Code 39 Size Setting Related Properties
.NET programmers have full access to Code 39 barcode properties. Reasonable adjustments of barcode size are acceptable provided the Code 39 barcodes are printed accurately based on ISO/IEC 16388.

Code 39 Special

N --- Wide to narrow bar ratio. Valid value ranges from 2.0 to 3.0 inclusive.
I --- Space between characters of Code 39. It is the multiple of the narrowest bar and valid value is from 1.0X to 5.3X inclusive.

Margin Size

BottomMargin --- Set the top margin of created Code 39.
LeftMargin --- Set width of the Code 39 barcode left margin.
RightMargin --- Right margin size setting via this property.
TopMargin --- Using the parameter to adjust height of the barcode top margin. Default value is 0.

Height & UOM Setting

Resize --- Set this property to true, web server control will reset barcode size when manual setting does not meet its barcode specification.
BarcodeHeight --- Height of the whole barcode image.
BarcodeWidth --- Width of the entire barcode image.
BarWidth_X --- Adjust the width of the barcode narrowest bar (X). Default value is 2.
BarHeight_Y --- Modify the height of the barcode bar (Y). Default value is 50.
HoriBarAlignment --- Using this property to set bar alignment of barcode. Valid values are Center, Left, and Right.
MeasurementUnit --- Modifty unit of measure for all barcode property settings. Valid values are Cm, Inch, and Pixel.