KA.Barcode Generator for .NET Suite
How to Generate PDF-417 Image in VB.NET Projects
VB.NET source code to generate, print PDF417 images in specified formats using .NET Barcode Control
  • Compatible with .NET Framework 2.0, 3.0, 3.5 and above versions
  • Draw and print barcode Word, Java barcode, barcode ASP.NET & Excel barcode in .NET IDEs
  • Simple to achieve quick integration for VB.NET PDF 417 Generator in VB.NET IDEs
  • Programmatically create, print Truncated PDF-417 and Macro PDF-417 barcodes in VB.NET Project
  • Dynamically create and produce PDF-417 matrix barcode images in VB.NET Web and WinForms applications
  • Easy barcoding to customize PDF-417 barcode resolution to print images for all printers
  • Generating high-quality PDF-417 matrix barcode images saved in PNG, JPEG/Jpg, GIF, BMP/Bitmap, TIFF
  • Support to print 2D barcode in ASP.NET as well, including .NET EAN-8, ASP.NET UPC-E, .NET WinForms Code 128
  • Accurate PDF-417 creation according to ISO / IEC 15438 (2nd edition 2006-06-01) specification
  • Provide complete unencrypted source code with purchase
PDF-417 barcode maker for VB.NET is a barcoding functionality of KA.Barcode Generator for .NET Suite.This barcode library is widely adopted to generate, make PDF-417 barcode in VB.NET class, VB.NET ASP.NET web applications, VB.NET Windows Forms and Reporting Services applications. Meanwhile, developers can have access to more samples for PDF-417 generation on VB.NET, like PDF-417 size and data as below:
PDF-417 Image Setting in KA.Barcode Generator for .NET Suite

Install Barcode for .NET Control into Projects

  1. 1.
  2. 2.
    Copy KeepAutomation.Barcode.Windows.dll or KeepAutomation.Barcode.Web.dll to your VB.NET project folder
  3. 3.
    Open Microsoft Visual Studio, choose "Add Reference" in "Project"
  4. 4.
    Browse KeepAutomation.Barcode.Windows.dll or KeepAutomation.Barcode.Web.dll
  5. 5.
    Now you will see "KeepAutomation.Barcode.Web" or "KeepAutomation.Barcode.Windows" under your references
Copy those following VB.NET barcode generating syntax to your barcoding program:
Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
barcode.Symbology= KeepAutomation.Barcode.Symbology.PDF417
barcode.CodeToEncode = "PDF-417"

VB.NET Demo to Draw Truncated PDF-417 with Barcode Maker Control

Sometimes, users may concern more about space consideration; and Truncated PDF-417 barcodes occurs. With KA.Barcode for VB.NET, Truncated PDF-417 barcodes are easily to be created in VB.NET web applications with "PDF417Truncated" enabled.
barcode.PDF417Truncated = true

VB.NET Example to Print Macro PDF-417 with Barcode Library SDK

For some purpose, users want to make a set of PDF-417 symbol into a single structured one, that's we called Macro PDF-417 barcode. With KA.Barcode for VB.NET, users may enable "GroupEnabled" function, and use "GroupItemId" to count the total number of PDF-417(Note: up to 99,999 symbols) and use "GroupItemCount" to number PDF-417 symbols (Note: it starts with 0). Beside, do not forget to make all PDF-417 within the same "GroupId".
First Segement:
barcode.GroupEnabled = true
barcode.GroupId = 23
barcode.GroupItemCount = 2
barcode.GroupItemId = 0

Second Segement:
barcode.GroupEnabled =true
barcode.GroupId = 23
barcode.GroupItemCount = 2
barcode.GroupItemId = 1

VB.NET Sample to Change PDF-417 Barcode Image Rotation

KA.Barcode Generator for .NET Suite provides selectable barcode image orientation to rotate PDF-417 Barcode barcodes into any angles of 0, 90, 180 or 270 degrees with "Orientation" property. The default is Degree0.
barcode.Orientation = KeepAutomation.Barcode.Orientation.Degree180

VB.NET Codings to Adjust PDF-417 Horizontal Bar Alignment inside the Image

Besides image resolution, the placement of barcode horizontal alignment inside the image makes PDF-417 barcodes look different. Using KA.Barcode Generator for .NET Suite, you can easily change bar alignment with "BarAlignment" to "right", "center" or "left"; and the default is "Center".
barcode.BarAlignment = AlignmentHori.Center