BizCode Barcode Generator for .NET Ultimate
The most robust & powerful barcode generating SDK for Microsoft .NET Framework
Quick Overviews
  • Powerful barcode creating DLL
  • Completely run in VB.NET
  • 100% sample code provided
  • Multiple barcode formats
  • Full controls provided
How to Set Code 39 Size in VB.NET
VB.NET Code 39 Generator is easy to integrate the VB.NET Code 39 barcode generating SDK within .NET project templates. It is totally compatible with .NET Framework 2.0, 3.0, 3.5, 4.0 and Microsoft development tool Visual Studio 2005/2008/2010.
Adjustable barcode sizing options are provided with VB.NET Code 39 Generator, with which users may easily set Code 39 bar width & height, wide-to-narrow ration, inter-character space, quiet margins using Visual Basic.NET. More details please see below. If you want to know more about Code 39 other settings, please go to:
Code 39 Size Related Properties

I

Sizing property I is provided by Barcode Generator for .NET Ultimate for users to specify the space of inter-characters in Code 39 and Code 39 Extension barcodes.

Bar Ratio

Sizing property BarRatio is provided by Barcode Generator for .NET Ultimate for users to control the proportion of wide bar and narrow bar in Code 39 and Code 39 Extension barcodes.

Barcode Unit

Sizing property BarcodeUnit is provided by Barcode Generator for .NET Ultimate for users to define the unit measurement (pixel, cm, or inch) to measure all barcode size related properties in Code 39 and Code 39 Extension barcode.

Quiet Margin

Sizing properties QuietMargin are provided by Barcode Generator for .NET Ultimate for users to manage the quiet margin of top, bottom, right and left in Code 39 and Code 39 Extension barcode.

Bar Width & Height

Sizing properties BarWidth and BarHeight are provided by Barcode Generator for .NET Ultimate for users to control the width and height of modules in Code 39 and Code 39 Extension barcodes.

Barcode Width & Height

Sizing properties BarcodeWidth and BarcodeHeight are provided by Barcode Generator for .NET Ultimate for users to set the whole barcode width and height of Code 39 and Code 39 Extension barcode in accordance with users’ needs.
Customize Code 39 Barcode Sizes in VB.NET
Make sure that your have installed those programs before you control Code 39 barcode size in VB.NET:
Customize Code 39 Barcode Size in VB.NET
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.CODE39
barcode.Code = "0123456789"

' Change Code 39 barcode unit measuirement in Pixel, Inch and Cm
barcode.BarcodeUnit = BarcodeUnit.PIXEL

' Adjust Code 39 barcode inter-character space
barcode.I = 3

' Change Code 39 barcode wide bar vs narrow bar ratio, 2.0-3.0 inclusive
barcode.BarRatio = 2.5

' Specify Code 39 barcode width & height
barcode.BarcodeHeight = 100
barcode.BarcodeWidth = 500

' Specify Code 39 bar width & height
barcode.BarHeight = 75
barcode.BarWidth = 3

' Control Code 39 barcode top margin, bottom margin, right margin and
left margin size

barcode.BottomMargin = 7
barcode.TopMargin = 7
barcode.LeftMargin = 5
barcode.RightMargin = 5
barcode.drawBarcode2SizeFile("c:/Code 39-vb-net.gif")