Our Customers
Contact Us Email: support@barcodelib.com
Home > ASP.NET Barcode > ASP.NET Barcode Generation Guide > ASP.NET PDF-417 Barcode Generation Guide
Download Barcode for ASP.NET Trial

ASP.NET 2D PDF-417 Barcode Generator

How to Generate PDF-417 Barcodes in ASP.NET Web Applications / Website / IIS
  • Professional PDF-417 ASP.NET barcode generation DLL completely built in managed C#
  • Simple to integrate PDF-417 barcode generation component into ASP.NET program
  • Generate & print industry standard PDF-417 barcodes in ASP.NET web & IIS applications
  • Easy to draw & create 2D PDF-417 barcode images in jpeg, gif, png and bitmap files
  • Able to generate & print PDF-417 in RDLC Reports and Crystal Reports for ASP.NET programs
  • Several commercial developer license types are provided to fulfill different developing requirements
Brief Introduction for 2D PDF417 Barcode ASP.NET Library
PDF417 is a high-density 2D barcode. It is, in essence, the stack of several linear barcodes. Similar to other 2D barcodes, PDF417 can also encode many data types like byte data, numeric data and alphanumeric data. Besides, PDF417 has 9 error correction levels. Now, this 2D barcode has been commonly used in United States Postal Service and the airline industry.
The PDF417 barcode images generated by this ASP.NET toolkit are absolutely compatible with latest industry standards.
To know more about PDF-417 2d barcode, please see .NET PDF417 2D Barcode Introduction.
Guide to Integrate ASP.NET PDF417 Barcode Generator SDK
You can integrate this barcode generation SDK into your ASP.NET project reference and the Visual Studio Toolbox. The following are detailed steps.
  1. To ASP.NET project
    • Click "Add Reference..." in "Solution Explorer".
    • Click "Browse" to find Barcodelib.Barcode.ASP.NET.dll in the unzipped file, and click "OK" button.
  2. To Visual Studio Toolbox
    • Right click "Choose Items..." in .NET Visual Studio Toolbox.
    • Click "Browse" to locate Barcodelib.Barcode.ASP.NET.dll.
    • Click "OK" and then four items will be listed in Toolbox.

Guide to Create 2D PDF417 Barcodes in ASP.NET Web Site
  1. Add ASP.NET PDF417 Barcode Generator SDK
  2. Find the folder barcode in the downloaded product and copy files "pdf417.aspx", "pdf417.asp.cs" to your folder where your project is saved.
  3. Drag PDF417ASPNET from the Toolbox to your aspx page. Adjust PDF417 barcode settings in the properties window if it is needed.
  4. Run the project to view the generated PDF417 barcode on your aspx page.
Guide to Generate PDF417 in ASP.NET with C# & VB Codes
You may generate PDF417 barcode images in ASP.NET project by referring to the following C# & VB codes.
     PDF417 PDF417 = new PDF417();
PDF417.Data = "45454";

PDF417.UOM = UnitOfMeasure.CM;
PDF417.BackgroundColor = System.Drawing.Color.White;
PDF417.ModuleColor = System.Drawing.Color.Black;
PDF417.ImageFormat = System.Drawing.Imaging.ImageFormat.Png;
PDF417.ImageWidth = 10;

// Save barcode image into your file system
The above codes are written in C# 2005 If needed, please view more PDF-417 C#.NET generation demo code
      Dim PDF417 As New BarcodeLib.Barcode.PDF417
PDF417.Data = "45454"

PDF417.UOM = BarcodeLib.Barcode.UnitOfMeasure.CM
PDF417.BackgroundColor = System.Drawing.Color.White
PDF417.ModuleColor = System.Drawing.Color.Black
PDF417.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
PDF417.ImageWidth = 20

' Save barcode image into your file system
The above codes are written in VB 2005 PDF-417 VB.NET generation demo code
Guide to Generate 2D PDF417 Barcode Images in Microsoft IIS
  1. Download the trial package and copy folder barcode to your IIS folder, e.g. C:\ interpub.
  2. Create a new virtual directory in your IIS named "barcode", and connect it to the above "barcode" folder pasted in interpub.
  3. Restart IIS and navigate to:

    To make further adjustment for PDF417 image, please view web stream URL parameters for PDF417 here: 2D Barcode PDF417 .NET Property Settings
  4. If you want to add this PDF417 barcode image to your aspx or html page, please pass the url to IMG tag or src value.
    <img src=http://YourDomain:port/barcode/pdf417.aspx?Data=45454&LeftMargin=12&RightMargin=12 />
    This method will not generate any PDF417 barcode images in your IIS server side.
ASP.NET PDF417 Barcode Generator Supported Barcode Types
Support Linear Barcodes:
Support Matrix Barcodes:
Linear (1D) Barcode Types for ASP.NET Web Projects: Codabar, Code 11, Code 2 of 5, Code 39, Code 93, Code 128, EAN 8, EAN 13, GS1-128/EAN-128, Interleaved 2 of 5, ITF14 (UPC Shipping Container Symbol), MSI Plessey, Onecode, Planet, Postnet, RM4SCC (British Royal Mail 4-State Customer Barcode), UPC-A, UPC-E.
Matrix (2D) Barcode Types for ASP.NET Web Projects: Data Matrix, PDF 417, QR Code.

Other Related Barcode Generation Articles

ASP.NET C# & VB.NET Barcode Generation Guide