How to Generate PDF-417 in VB.NET Application

How to Create 2D PDF-417 Barcode Image in VB.NET Application
  • Compatible with .NET Framework 2.0, 3.0, 3.5 and above versions
  • Full integration into .NET applications with strong-named assemblies
  • Latest ISO/IEC specification for 2D PDF-417 pre-configured to ensure sannability
  • Generate high-quality PDF-417 matrix barcode pictures in Visual Basic .NET projects
  • Support multiple .NET projects like ASP.NET websites, WinForms, Console Applications, etc.
  • Easy to draw and save generated PDF-417 in various image formats (Gif, Jpeg/Jpg, Png, etc)
  • Adjust PDF-417 image settings in VB including width, height, rotation, color, etc.
  • Allow advanced PDF-417 matrix barcode image output for all printers by resolution customization
PDF-417 Barcode Control Introduction in VB.NET
KA.Barcode Generator for .NET Suite allows developers to create and encode PDF-417, MacroPDF-417 barcodes and other linear & bi-dimensional barcode symbols in .NET development environments, such as Microsoft Visual Studio 2005/2008/2010. In addition, KeepAutomation provides complete barcoding tutorials for PDF-417 data encoding, size & image setting tutorials with detailed VB.NET sample code. Download KA.Barcode for .NET Suite evaluation package for free.
PDF-417 Barcode Introduction
PDF417, also named as Portable Data File 417, PDF 417 & PDF417 Truncated, is a stacked barcode symbol used mainly in transport, inventory management and identification cards.
KeepAutomation supports the following PDF-417 data formats:
  • Auto: KeepAutomation's software will select proper data format according to input data
  • Text: each codeword represents one or two characters
  • Byte: each group of 5 codewords represents 6 bytes
  • Numeric: groups of up to 15 codewords represent as many as 44 decimal digits
How to Stream PDF-417 in ASP.NET with VB Class
This .NET Barcode Generator Library enables developers to stream PDF-417 barcode images in ASP.NET web forms. It can be realized in your Visual Studio 2005 and above versions. Or you can realize barcode generation through URL in Microsoft IIS. In addition, you can also use VB sample code shown in this ASP.NET barcode creation tutorial in VB.NET.
How to Add PDF-417 in .NET WinForms with VB Class
With this barcode control, users can create PDF-417 barcode image in .NET WinForms application. This barcode control is completely compatible with related barcoding specifications, so the generated PDF-417 barcode image can be printed by all printers. For more barcode generation details, please view this VB.NET barcode generation guide in WinForms.
How to Create PDF-417 in Crystal Reports with VB Class
Developers are allowed to create PDF-417 barcode images in Crystal Reports with this barcode dll. We offer a detailed developer guide for VB barcode generation in Crystal Reports. You may refer to it for your barcode generation.
How to Insert PDF-417 in RDLC Reports with VB Class
The .NET Barcode Generator SDK supports professional PDF-417 barcode generation in RDLC Reports. For more information on barcode creation, users can follow this tutorial for barcode creation in RDLC Reports with VB sample code.
How to Generate PDF-417 Using VB.NET Sample Code
Users can download this .NET Barcode Generator Library to generate PDF-417 barcode images in .NET applications. To get user-defined barcode image, they just need to adjust PDF-417 barcode properties with VB.NET programming. VB sample code is provided as below.
VB Sample code
     Dim pdf417 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
pdf417.Symbology = KeepAutomation.Barcode.Symbology.PDF417

'PDF-417 error correction level, ECL_0-8 supported
pdf417.PDF417ECL = KeepAutomation.Barcode.PDF417ECL.ECL_1
'PDF-417 number of columns, valid form 1-30, default is 5
pdf417.PDF417ColumnCount = 5
'PDF-417 number of rows, valid form 3-90, default is 3
pdf417.PDF417RowCount = 4
'(Optional)Compact PDF417: If set true, some of the row overhead is reduced to improve symbol density.
pdf417.PDF417Truncated = False

'PDF-417 data mode, supporting Auto, Byte, Numeric, Text
pdf417.PDF417DataMode = KeepAutomation.Barcode.PDF417DataMode.Auto
'Set PDF-417 valid input: All ASCII characters, including 0-9, A-Z, a-z, special characters. Length: variable.
pdf417.CodeToEncode = "vbPDF417"

'PDF-417 unit of measure: pixel, cm and inch
pdf417.BarcodeUnit = KeepAutomation.Barcode.BarcodeUnit.Pixel
'PDF-417 image resolution in dpi
pdf417.DPI = 72

'PDF-417 size settings properties

'PDF-417 module bar width (X dimention), default is 1 pixel.
pdf417.X = 2
'PDF-417 module bar width vs module bar height, default is 0.33333f.
pdf417.PDF417XtoYRatio = 0.3F
'PDF-417 barcode image width
pdf417.BarCodeWidth = 320

'PDF-417 image margin size, minimum value is 2X on four sides according to specification.
pdf417.LeftMargin = 4
pdf417.RightMargin = 4
pdf417.TopMargin = 4
pdf417.BottomMargin = 4

'PDF-417 image orientation, 0, 9., 180, 270 degrees supported.
pdf417.Orientation = KeepAutomation.Barcode.Orientation.Degree90
'Print and save PDF-417 bar codes in Png, Gif, Jpeg/Jpg, Tiff, Bmp image formats.
pdf417.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg
VB - Web PDF417VB - Windows PDF417VB - Crystal PDF417VB - RDLC PDF417VB - PDF417Using C#Using VB.NETData Matrix for VB.NETQR Code for VB.NETmoreCodabar for VB.NETCode 39 for VB.NETCode 128 for VB.NETEAN-8 for VB.NETEAN-13 for VB.NETEAN 128 for VB.NETIntelligent Mail for VB.NETInterleaved 2 of 5 for VB.NETISBN for VB.NETITF-14 for VB.NETRM4SCC for VB.NETUPC-A for VB.NETUPC-E for VB.NETmore
KeepAutomation provides complete barcode automation solutions for add barcode display 2-dimensional, barcode generation capacity api, and barcode mobile applications. We recommend the customers use high quality ASP.NET html5 document viewer, c# pdf sdk, C# merge PDF files, Split PDF in C#, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from