How to Generate PDF-417 in .NET Library
PDF-417 (a.k.a. Portable Data File 417, PDF 417, PDF417 Truncated) is a stacked linear bar code symbol used in a variety of applications, primarily transport, identification cards, and inventory management. It was invented by Dr. Ynjiun P. Wang at Symbol Technologies in 1991.
PDF-417 Barcode Generator for .NET aims to generate PDF-417 barcodes in any development environment supported by .NET Framework. It is easy to print PDF-417 in .NET Windows Forms applications, ASP.NET Web Forms, .NET class & console applications, and can be completely developed in C# .NET.
.NET PDF-417 Generating SDK provides advanced barcode generating and printing controls for developers to generate and create PDF-417 barcode in .NET projects with high qualities. Besides, several barcode options over PDF-417 barcode size and image are provided, allowing users to customize PDF-417 as they wish.
PDF-417 for .NET Ultimate Features
Encodable Characters | Support to encode: - Standard ASCII characters 0-127 (default: ISO/IEC 646) - Extended ASCII characters 128-255 (default: ISO/IEC 8859-1) |
Multiple PDF-417 Barcode | Also support to generate & stream Macro PDF-417 and Truncated PDF-417 barcodes |
Simple to Use | Fast PDF-417 barcode generation via dragging & dropping barcode onto your web forms & Windows Forms |
Barcode Specification | Accurately create pre-configured PDF-417 in accordance with its barcode specification - ISO / IEC 15438 (2nd edition 2006-06-01) |
Detailed User Manual | Provide comprehensive PDF-417 barcode generating guides over every aspect, such as image, size, data, etc. |
High Quality Barcode | Export high quality graphic images in WMF, BMP, JPG, GIF, PNG and TIF formats or in .NET graphic objects |
PDF-417 for .NET Ultimate Requirements
Windows OS - Microsoft Windows 7 - Windows Server 2008 - Windows Vista - Windows Server 2003 - Windows XP | Development Environments - .NET 2.0/3.0/4.0 - C#, Visual Basic, Managed C++ and Borland Delphi.NET - Visual Studio 2005/2008/2010 - .NET Windows Forms Application - .NET Class and Console Applications - ASP.NET Web Forms - .NET SSRS and Crystal Report |
Install PDF-417 Generator for .NET Ultimate
- Download BizCode Generator for .NET Ultimate and unzip;
- Add reference: Add "BusinessRefinery.Barcode.Web.dll" or "BusinessRefinery.Barcode.Win.dll" to your project reference;
- Add to toolbox: To add Barcode Control to your .NET Winforms or ASP.NET Web Forms toolbox.
How to Drag & Drop Barcode Control into ASP.NET projects?
- Install ASP.NET Barcode Control;
- Add ASP.NET Barcode Control onto your .NET Visual Studio Toolbox;
- Copy "pdf417.aspx" and "pdf417.aspx.cs" to the folder where your aspx pages are generating barcodes;
- Drag and drop the WebPDF417 control into the Forms;
- Run the website and you will see a barcode image generated.
How to Drag & Drop Barcode Control into .NET Winforms projects?
- Install .NET Winforms Barcode Control;
- Add .NET Winforms Barcode Control onto your .NET Visual Studio Toolbox;
- Drag and drop the WinPDF417 control into the Forms;
- Run the website and you will see a barcode image generated.
How to Generate PDF-417 in .NET with C#, VB.NET Class?
Copy those following sample code to .NET projects:
using BusinessRefinery.Barcode;
PDF417 barcode = new PDF417();
barcode.Code = "PDF-417";
barcode.Resolution = 104;
barcode.Rotate = Rotate.Rotate180;
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c:/pdf-417-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.PDF417 =
New BusinessRefinery.Barcode.PDF417()
barcode.Code = "PDF-417"
barcode.Resolution = 104
barcode.Rotate = BusinessRefinery.Barcode.Rotate.Rotate270
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/pdf-417-vb-net.gif")
How to Create Your Own PDF-417 in IIS?
- Download BizCode Generator for .NET Ultimate and unzip;
- Copy the whole barcode fold and contents into IIS and create a new virtual directory called "br_barcode";
- Restart IIS, navigate to http://localhost/br_barcode/pdf417.aspx?code=0123456789;
- Add an image tag <img> into the web page to create Code 39 barcode image in html or aspx pages, e.g.
<img src="http://localhost/br_barcode/pdf417.aspx?code=0123456789"/>
How to Draw PDF-417 Barcodes to Image Files (GIF, JPEG, BMP, PNG, & TIFF)?
Copy those following sample code to .NET projects:
using BusinessRefinery.Barcode;
PDF417 barcode = new PDF417();
barcode.Code = "PDF-417";
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c:/pdf-417-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.PDF417 =
New BusinessRefinery.Barcode.PDF417()
barcode.Code = "PDF-417"
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/pdf-417-vb-net.gif")
How to draw & print PDF-417 barcodes to .NET objects like Graphics, Stream, Bitmap?
Copy those following sample code to .NET projects:
public void drawBarcode2ImageFile(string filename);
public void drawBarcode2Stream(Stream fileStream);
public byte[] drawBarcodeAsBytes();
public Bitmap drawBarcodeOnBitmap();
public void drawBarcodeOnGraphics(Graphics graphics);
Public Sub drawBarcode2Stream(ByVal fileStream As System.IO.Stream)
Public Sub drawBarcodeOnGraphics(ByVal graphics As
System.Drawing.Graphics)
Public Function drawBarcodeAsBytes() As Byte()
Public Function drawBarcodeOnBitmap() As System.Drawing.Bitmap