- Postnet generation in Visual Basic .NET applications
- Easy-to-use & integrate Postnet Barcode Generation into VB.NET projects
- Generate Postnet and other linear barcodes & 2D barcodes in C# class, such as planet in VB.NET, InteRM4SCCin VB.NET, Code 93 in VB.NET, USPS Intelligent Mail in VB.NET
- Draw Postnet using VB.NET in ASP.NET Web Forms
- Create Postnet with VB.NET in .NET Windows Forms applications
- Generate Postnet in stream object, in graphics object, and image formats using Visual Basic .NET
- Print and save Postnet as gif, jpeg, png, tiff, and bitmap files in VB.NET class
POSTNET, is also named as USPS POSTNET Barcode, USPS Postal Numeric Encoding Technique Barcode, Delivery Point Barcode (DPBC), Postnet 3 of 5.
VB.NET Postnet Barcode Generator is a Postnet Barcode Generation functions of KeepAutomation .NET Barcode Generator, which enables developers to easily generate Postnet in VB.NET class, VB.NET Windows Forms and VB.NET ASP.NET web applications.
print barcode crystal report using c#,
how to print barcode labels in asp net c#,
c# gs1 barcode parser,
qr barcode generator vb.net,
visual basic barcode,
barcode in c#
Postnet Barcode for VB.NET is easy to be installed into your VB.NET projects. And the Postnet barcodes may be encoded into multiple image formats, including GIF, BMP, PNG, JPEG, TIFF. Users can get details about POSTNET barcode setting in KA.Barcode Generator for VB.NET from:
Postnet Barcode Solutions
Besides VB.NET Postnet Generator, KeepAutomation provides other advanced Postnet barcode solutions, including
C#.NET Postnet Generator - generating Postnet in C#.NET
Java Postnet Generator - generating Postnet in java
Android Postnet Generator - creating Postnet barcode in Android
Postnet Barcode Fonts - printing Postnet with barcode fonts
How to Install Postnet Generator to your VB.NET Project
- Download .NET Barcode free evaluation package and unzip it
- Copy "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll" to the VB.NET project folder of your created application.
- Add the DLL(s) to your VB.NET project reference:
Method 1:
1. In toolbar, click "Project" and then choose "Add Reference".
2. Select "Browse" and choose the DLL(s). Click "OK".
Method 2:
1. In Solution Explorer, right-click your project. Then select "Add Reference".
2. Select "Browse" and choose the DLL(s). Click "OK".
How to Generate Postnet in VB.NET Class with Demo Code
How to Generate Postnet in VB.NET class
Dim postnet As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
postnet.Symbology = KeepAutomation.Barcode.Symbology.Postnet
//Set Postnet encoding code value. Valid data: numeric digits from 0 to 9
//Data length: 5, 6, 9, or 11 digits only without the last check digit.
postnet.CodeToEncode = "54184"
//Set Postnet image size
postnet.BarcodeUnit = BarcodeUnit.Pixel // Unit of measure, Pixel, Cm and Inch supported.
postnet.DPI = 72 // Postnet image resolution in DPI.
postnet.X = 2 // Postnet bar module width (X dimention)
postnet.Y = 60 // Postnet bar module height (Y dimention)
postnet.ShortTallRatio = 0.4f; // Postnet short bar height vs tall bar height
postnet.LeftMargin = 0 // Image left margin size, minimum value is 10X.
postnet.RightMargin = 0 // Image right margin size, minimum value is 10X.
postnet.Orientation = Orientation.Degree0 // Orientation, 90, 180, 270 degrees supported
//Set Postnet human readable text style
postnet.DisplayText = true // Display human readable text
postnet.TextFont = new Font ("Arial", 10f, FontStyle. Regular);
postnet.TextMargin = 6 // Space between barcode and text
postnet.generateBarcodeToImageFile("C://postnet-vb-net.gif")
How to Draw and Encode Postnet in ImageFormats
In addition to image GIF format, you can encode Postnet into other image formats, like "png", "bmp", "jpg", and "tiff".
Encode Postnet into PNG image format
Dim postnet As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
postnet.Symbology = KeepAutomation.Barcode.Symbology.Postnet
postnet.CodeToEncode = "154812547"
postnet.generateBarcodeToImageFile("C://postnet-vb-net.png")
Encode Postnet into BMP image format
Dim postnet As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
postnet.Symbology = KeepAutomation.Barcode.Symbology.Postnet
postnet.CodeToEncode = "865412"
postnet.generateBarcodeToImageFile("C:// postnet-vb-net.bmp")