Home  >  ASP.NET Barcode Generator Components  >  How to Print Barcode in ASP.NET  >  Create & Generate PDF417 Barcode in ASP.NET projects
PDF417 Barcode Generator for ASP.NET Web Applications
PDF417 ASP.NET Barcode Creator / Generator is an advanced barcode generating library, which is designed to generate, create PDF-417 barcodes for ASP.NET web server applications using C# and VB.NET.
Popular PDF417 barcode generating controls for .NET applications:
PDF417 Barcode Generator for ASP.NET Web Applications - Features

PDF-417 Barcode ASP.NET Generator | Technology

PDF-417 Barcode ASP.NET Creator | Barcode Image Generation

ASP.NET PDF-417 Barcode generator provides multiple options for easily customizing the barcode settings.
View more about PDF-417 Barcode Properties of ASP.NET Barcode Generator Library
Developing Guidance for PDF-417 Barcode ASP.NET Generator Library

How to Generate PDF417 Barcode in ASP.NET Web Controller

  1. Find KeepDynamic.BarCode.AspNet.dll in the folder Library and add it to your ASP.NET project and Visual Studio Toolbox
  2. Copy "pdf417.aspx", "pdf417.aspx.cs" from barcode folder in Documentation to your ASP.NET project
  3. Drag & drop PDF417Control from the Toolbox to your ASP.NET project and a PDF417 barcode image will be generated
  4. Click generated barcode image and adjust its property values in the Properties window
  5. Run the ASP.NET project to view the created PDF417 barcode image

How to Generate & Print PDF417 Barcode in ASP.NET Class Applications

  1. Integrate KeepDynamic.BarCode.AspNet.dll from the file Library to your ASP.NET project by adding reference
  2. Copy following C# or VB.NET class code to generate Code 39 barcode images in ASP.NET web applications.
Use C# code for PDF417 barcode generation in ASP.NET class applcation
// Create PDF417 barcode object in C#
PDF417 barcode = new PDF417();

// Set PDF-417 barcode value in C#
barcode.CodeText = "PDF417 in C#";

// set unique PDF 417 barcode image settings
barcode.ColumnCount = 3;
barcode.RowCount = 10;
barcode.X = 3;
barcode.XtoYRatio = 0.3333333f;

// set image size-related property settings
barcode.BottomMargin = 6;
barcode.TopMargin = 6;
barcode.RightMargin = 6;
barcode.LeftMargin = 6;
barcode.BarCodeWidth = 400;
barcode.BarCodeHeight = 120;

// Set PDF-417 drawing image format to PNG in C#
barcode.Format = System.Drawing.Imaging.ImageFormat.Png;

// Generate PDF-417 barcode & encode to the png image in C#
barcode.drawBarcode("C://barcode-pdf417.png");
Use VB.NET code for PDF417 barcode generation in ASP.NET class applcation
' Create PDF417 barcode object in VB.NET
Dim barcode As New PDF417()

' Set PDF-417 barcode value in VB.NET
barcode.CodeText = "PDF417 in VB.NET"

' set unique PDF 417 barcode image settings
barcode.ColumnCount = 3
barcode.RowCount = 10
barcode.X = 3
barcode.XtoYRatio = 0.3333333F

' set image size-related property settings
barcode.BottomMargin = 6
barcode.TopMargin = 6
barcode.RightMargin = 6
barcode.LeftMargin = 6
barcode.BarCodeWidth = 400
barcode.BarCodeHeight = 120

' Set PDF-417 drawing image format to PNG in VB.NET
barcode.Format = System.Drawing.Imaging.ImageFormat.Png

' Generate PDF-417 barcode & encode to the png image in VB.NET
barcode.drawBarcode("C://barcode-pdf417.png")

How to Generate PDF417 Barcode in IIS using ASP.NET Barcoding Library

  1. Open folder Documentation of downloaded trial package and find folder barcode
  2. Copy cotent of folder barcode to your IIS project, eg:C:\interpub
  3. Create a new virtual directory in your IIS named "barcode", and connect it to the above barcode folder in the C:\interpub
  4. Restart your Microsoft IIS and navigate to:
    http://YourDomain:Port/barcode/pdf417.aspx?code-text=PDF417&x=2&left-margin=4&right-margin=4&top-margin=4&bottom-margin=4
  5. you can use the following image tag to generate a Code 39 barcode on your html or aspx pages.
    <img src="http://YourDomain:Port/barcode/pdf417.aspx?code-text=PDF417&x=2&left-margin=4&right-margin=4&top-margin=4&bottom-margin=4" />
Note: X refers to module and code-text refers to encodable characters.
Barcode Types - PDF417 ASP.NET Barcode Generator Component