How to Generate PDF-417 in .NET Application

How to Generate 2D PDF-417 Barcode in ASP.NET, WinForms, C# & VB.NET
  • Entirely in accordance with ISO/IEC 15438 (2nd edition 2006-06-01)
  • Completely written in C#, Visual Basic .NET for .NET 2.0/3.0/4.0
  • Simple 2D PDF-417 barcode generation in Visual Studio .NET projects
  • Programmatically create Truncated PDF-417, Macro PDF-417 barcodes in .NET
  • Generate dynamic 2D PDF-417 barcodes with easy drag & drop of barcode control
  • Show human readable text with customizable font, color and margin settings
  • Print and save matrix PDF-417 in gif, jpeg, png, tiff, and bitmap formats to local files
  • Professional 2D PDF-417 barcode generating component SDK used extensively
PDF-417 Barcode Control for .NET Introduction
This PDF-417 barcode creator control library, is actually a barcode funtionality of KA.Barcode Generator for .NET Suite, which makes it so easy to draw and integrate a PDF417, as well as other linear, bidimensional barcode types in .NET projects. This page will guide you for easy PDf417 encodation and generation with detailed C#, VB.NET programming demo.
PDF-417 Barcode Introduction
PDF417, or Portable Data File 417, is a two-dimensional stacked barcode symbology capable of encoding over a kilobyte of data per label. It was developed by Symbol Technologies (1989-1992) and is currently maintained by ANSI/AIM USA.
PDF-417 Encodable Data
  • Standard ASCII characters: 0-127
  • Extended ASCII characters: 128-255
.NET PDF-417 Barcode Control Download
Free evaluation download of KA.Barcode for .NET Suite is provided online to generate PDF-417 barcode images in .NET applications. Please download and unzip it now to get these barcode dlls for various .NET projects(KeepAutomation.Barcode.Crystal.dll, KeepAutomation.Barcode.Crystal.dll, KeepAutomation.Barcode.SSRS2005.dll, KeepAutomation.Barcode.SSRS2005CRI.dll, KeepAutomation.Barcode.SSRS2008.dll, KeepAutomation.Barcode.SSRS2008CRI.dll, KeepAutomation.Barcode.Web.dll and KeepAutomation.Barcode.Windows.dll).
PDF-417 Barcode Generation in .NET Using C# or VB.NET
  1. First of all, you should add "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll" to your project reference.
  2. Next, you may refer to C# or VB demo code to insert PDF-417 barcode image in .NET applications.
C# Sample code
     BarCode pdf417 = new BarCode();
pdf417.Symbology = KeepAutomation.Barcode.Symbology.PDF417;
pdf417.CodeToEncode = "01234";
pdf417.X = 3;
pdf417.Y = 3;
pdf417.PDF417XtoYRatio = 0.2f;
pdf417.PDF417DataMode = KeepAutomation.Barcode.PDF417DataMode.Auto;

VB Sample code
     Dim pdf417 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

pdf417.Symbology = KeepAutomation.Barcode.Symbology.PDF417
pdf417.CodeToEncode = "01234"
pdf417.X = 3
pdf417.Y = 3
pdf417.PDF417XtoYRatio = 0.2f

PDF-417 Barcode Generation in ASP.NET Project
  1. Start a new ASP.NET project and copy "barcode.aspx" and "barcode.aspx.cs" in "barcode" folder to your project folder.
  2. Browse and select "KeepAutomation.Barcode.Web.dll" from the unzipped package and add the dll to your project reference.
  3. Drag and drop "BarCodeControl" in Toolbox to the aspx page where your PDF-417 barcode image is loaded.
  4. Choose PDF417 barcode symbology in Properties window.
  5. Debug and view the created PDF-417 barcode image.
PDF-417 barcode image generation in Microsoft Internet Information Services
  1. Find the "barcode" folder in the unzipped trial package and copy it to your IIS web application folder.
  2. Create a new virtual directory (named as "barcode") in your IIS and restart it.
  3. Copy the following URL to your browser:
  4. Insert barcodes in html or aspx pages:
    <img src="barcode/barcode.aspx?symbology=102&code-to-encode=01234&x=3&y=3&pdf417-x-y-ratio=0.2"/>
  5. Customize the generated PDF-417 barcode image in the above URL.
PDF-417 Barcode Generation in .NET WinForms
  1. Load KeepAutomation.Barcode.Windows.dll to the Toolbox in your Visual Studio.
  2. Add BarCodeControl from the Toolbox into the form.
  3. Go to the Properties window and change "Symbology" to "PDF417".
  4. View the created PDF-417 barcode image.
  5. Customize your PDF-417 barcode image through the Properties window.
PDF-417 Barcode Generation in .NET Reports

How to Generate Standard PDF-417 Barcode Image in Crystal Reports
You can refer to this simple tutorial and add customized PDF-417 barcode image in Crystal Reports.
How to Generate Standard PDF-417 Barcode Image in RDLC Reports
You can refer to this simple tutorial and add customized PDF-417 barcode image in RDLC Reports.
How to Generate Standard PDF-417 Barcode Image in Reporting Services
You can refer to this simple tutorial and add customized PDF-417 barcode image in Reporting Services.
Free Trial DownloadC#/VB PDF417For Web PDF417For Windows PDF417For Reports PDF417Using C#Using VB.NETData Matrix for .NETQR Code for .NETmoreCodabar for .NETCode 39 for .NETCode 128 for .NETEAN-8 for .NETEAN-13 for .NETEAN 128 for .NETIntelligent Mail for .NETInterleaved 2 of 5 for .NETISBN for .NETITF-14 for .NETRM4SCC for .NETUPC-A for .NETUPC-E for .NETmore
KeepAutomation provides complete barcode automation solutions for Business Application, Enterprise Developement Project, and mobile applications. We recommend the customers use high quality .net image viewer sdk, c# image viewer, image viewer, C# PDF document viewer, VB.NET PDF document viewer, C# Word document viewer, VB.NET Word document viewer, C# Tiff image viewer, VB.NET Tiff image viewer from