Postnet 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 Postnet in VB.NET Reporting Service 2005 & 2008
  • Create Postnet in VB.NET ASP.NET Web Server projects
  • Equipped with a complete symbol size setting solution
  • Postal Alpha Numeric Encoding Technique (PLANET) is supported
  • Allow the module to be resized
  • Add flexible margins surrounding symbol to increase symbol readability
Postnet VB .NET Generator - Postnet 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 vbnetpostnet As BusinessRefinery.Barcode.Linear

vbnetpostnet = New BusinessRefinery.Barcode.Linear()

// set linear barcode symbology to postnet

vbnetpostnet.Symbology = BusinessRefinery.Barcode.Symbology.postnet

// set the unit of measure

vbnetpostnet.BarcodeUnit = BusinessRefinery.Barcode.BarcodeUnit.PIXEL

// set the bar height

vbnetpostnet.BarHeight = 50

// set the bar width

vbnetpostnet.BarWidth = 2

Margin Setting

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

Sample Code:
// construct a linear barcode object

Dim vbnetpostnet As BusinessRefinery.Barcode.Linear

vbnetpostnet = New BusinessRefinery.Barcode.Linear()

// set linear barcode symbology to postnet

vbnetpostnet.Symbology = BusinessRefinery.Barcode.Symbology.postnet

// set the width of margins around the symbol

vbnetpostnet.TopMargin=10

vbnetpostnet.BottomMargin=10

vbnetpostnet.LeftMargin=10

vbnetpostnet.RightMargin=10
Postnet VB .NET Generator - Quick Generating in VB.NET

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


Sample Code:
// construct a linear barcode object

Dim vbnetpostnet As BusinessRefinery.Barcode.Linear

vbnetpostnet = New BusinessRefinery.Barcode.Linear()

// set linear barcode symbology to postnet

vbnetpostnet.Symbology = BusinessRefinery.Barcode.Symbology.postnet

// set postnet code text to encode

vbnetpostnet.Code = "01234567891"

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

vbnetpostnet.drawBarcode2ImageFile("postnet-in-vbnet.png")




Quick Links