How to Generate PDF-417 in .NET WinForms Library
PDF-417 (a.k.a. Portable Data File 417, PDF 417, and PDF417 Truncated) is a 2D barcode symbology used to carry data information and establish information linking for primary transport, identification cards, and inventory management. Codewords in PDF-417 in different data modes represents data differently.
.NET Winforms PDF-417 Generator developed by BusinessRefinery is easy to integrate in C#, VB .NET Windows applications. PDF-417 barcode can be generated and created in .NET programs with Windows Forms DLLS or controls. It is compatible with the latest ISO PDF-417 barcode standard.
PDF-417 Generator SDK for Winforms provides advanced barcode imaging options and barcode customization that allows users to generate PDF-417 barcode suit their needs by setting barcode code text and appearance related properties like font, color, size, etc.
This document explains how to generate PDF-417barcode image in .NET Windows Forms applications and other specific tutorials of PDF-417 data, image and size setting, please see:
encode PDF-417 data in .NET Winforms,
customize PDF-417 image in .NET Winforms and
control PDF-417size in .NET Winforms.
PDF-417 Generator for .NET Winforms 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 Barcodes | Support to encode Macro PDF-417 and Compact PDF-417 barcodes in .NET Winforms |
.NET Framework Support | .NET 2.0/3.0/4.0 and Visual Studio .NET 2005/2008/2010 |
Barcode Specification | Accurate Data Matrix generating in according with ISO / IEC 16022 (2nd edition 2006-09-15) |
Lower ASCII Support | Allow easy encoding of functions such as the tab or return in PDF-417 barcodes |
Size Adjustments | Flexible size options over PDF-417 module size, barcode width & height, margins and other properties |
PDF-417 Generator for .NET Winforms 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#, VB.NET, Managed C++, Borland Delphi    for.NET - Visual Studio 2005/2008/2010 - .NET Windows Forms Application - .NET Class and Console Applications |
Install PDF-417 Generator for .NET Winforms
- Add reference: Add "BusinessRefinery.Barcode.Win.dll" to your .NET Winforms project reference;
- Add to toolbox: To add Barcode Control to your .NET Winforms Web Forms toolbox;
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;
- You will see a barcode image generated; more PDF-417 barcode setting please see below.
How to Generate PDF-417 with C#, VB.NET Class in .NET Winforms?
Copy those following sample code to your .NET Winforms 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")