Leitcode VB .NET Generator - Overview
  • Easily integrate with Visual Basic .NET IDEs
  • Strong-named and time-stamped
  • Compatible with Visual Basic Class library and Visual Basic Console Application
  • Generate Leitcode in VB.NET Reporting Service 2005 & 2008
  • Create Leitcode in VB.NET ASP.NET Web Server projects
  • Equipped with a complete symbol size setting solution
  • Allow the module to be resized
  • Add flexible margins surrounding symbol to increase symbol readability
Leitcode VB .NET Generator - Leitcode Size Setting Functionality

Module bar setting

The basic size-setting item is the size setting of module bar. There are three factors that related to the size of module - the unit of measure, the bar height, and the bar width.

Sample Code:
// construct a linear barcode object
Dim vbnetleitcode As BusinessRefinery.Barcode.Linear

vbnetleitcode = New BusinessRefinery.Barcode.Linear()

// set linear barcode symbology to leitcode

vbnetleitcode.Symbology = BusinessRefinery.Barcode.Symbology.leitcode

// set the unit of measure

vbnetleitcode.BarcodeUnit = BusinessRefinery.Barcode.BarcodeUnit.PIXEL

// set the bar height

vbnetleitcode.BarHeight = 50

// set the bar width

vbnetleitcode.BarWidth = 2

Margin Setting

Margins are add to enhance the readability of the barcode using Leitcode VB .NET Generator.

Sample Code:
// construct a linear barcode object

Dim vbnetleitcode As BusinessRefinery.Barcode.Linear

vbnetleitcode = New BusinessRefinery.Barcode.Linear()

// set linear barcode symbology to leitcode

vbnetleitcode.Symbology = BusinessRefinery.Barcode.Symbology.leitcode

// set the width of margins around the symbol

vbnetleitcode.TopMargin=10

vbnetleitcode.BottomMargin=10

vbnetleitcode.LeftMargin=10

vbnetleitcode.RightMargin=10
Leitcode VB .NET Generator - Quick Generating in VB.NET

1. How to add Leitcode VB .NET Generator to your VB.NET IDEs


Sample Code:
// construct a linear barcode object

Dim vbnetleitcode As BusinessRefinery.Barcode.Linear

vbnetleitcode = New BusinessRefinery.Barcode.Linear()

// set linear barcode symbology to leitcode

vbnetleitcode.Symbology = BusinessRefinery.Barcode.Symbology.leitcode

// set leitcode code text to encode

vbnetleitcode.Code = "01234567891"

//draw barcode and save into image file in png format

vbnetleitcode.drawBarcode2ImageFile("leitcode-in-vbnet.png")




Quick Links