One-time purchase for royalty-free developer license for C#.NET barcode Library
C#.NET 2D PDF-417 Barcode Introduction
PDF417 is a 2D, high-density barcode. It is the combination of several rows and columns. PDF-417 is able to encode numbers, data byte and texts. As it can store data securely and inexpensively, PDF-417 has been widely used today.
Quick to Create, Print PDF417 Barcode using C#
Using BarcodeLib C# Barcode library, you can quickly create ISO standard PDF417 in C# application.
Create a PDF417 object
Enter PDF417 encoding text to property Data
Use method drawBarcode() to print PDF417 to an image file
PDF-417 barcode supports all 128 ASCII characters encoding. Full ASCII table includes 128 characters. 95 of them are printable characters, and 33 of them are control characters, which do not have graphical label, and they are non-printing characters.
It is easy to create PDF-417 barcode with printable ASCII chars. You directly enter the ASCII chars in property Data.
Compact PDF417 is also named as Truncated PDF417. In the original AIM USA (1994) and AIM Europe (1994) PDF417 specifications, the term Truncated PDF417 has been used in a technically synonymous manner.
To create compact PDF417 using C# PDF417 Generator library, you need set property Compact to true;
Macro PDF417 provides a mechanism for the data in a file to be split into blocks and be represented in multiple PDF417 symbols. This mechanism is similar to the Structured Append feature in QR Code and Data Matrix.
Up to 99 999 individual PDF417 symbols may be used to encode data in Macro PDF417.
PDF417barcode=newPDF417();
barcode.Data="PDF417";
barcode.MacroPDF417=true;
// Valid range: 0 ~ 99998barcode.MSegmentIndex=0;
// Each int must be in range [0, 899]barcode.MFileID=newint[] { 100, 200 };
// To encode all optional fieldsbarcode.MContainOptional=true;
//barcode.MOptFileName = "File Name";// Valid: 1 ~ 99999barcode.MOptSegmentCount=3;
//barcode.MOptTimeStamp = 1;//barcode.MOptSender = "Sender";//barcode.MOptAddressee = "Addressee";//barcode.MOptFileSize = 100;// Max. value: 0xFFFF//barcode.MOptChecksum = 0x1234;barcode.drawBarcode("C://BarcodeLib//csharp-pdf417-macro.png");
How to Create PDF-417 Barcodes in C# ASP.NET?
With this C# QR Code generator, you can stream QR Code barcode images in ASP.NET using C#.NET in two ways.
Add Barcodelib.Barcode.ASP.NET.dll to your web project.
Or add Barcodelib.Barcode.ASP.NET.dll to the Toolbox.
Find the folder barcode in the trial package and copy files "pdf417.aspx", "pdf417.aspx.cs" to your web project folder.
Drag PDF417ASPNET from the Toolbox and drop it on your web project. Then you will see a PDF417 barcode image.
Adjust barcode parameters in the Properties Window or generate it with above free C# source code.
Run the project and you will see the generated PDF 417 barcode on your aspx pages.
How to Generate PDF417 in C# WinForms?
Add BarcodeLib.Barcode.WinForms.dll to your Windows Forms project.
Or Add BarcodeLib.Barcode.WinForms.dll to the Toolbox.
Drag PDF417WinForm to your windows form and you will see a PDF417 barcode image. Click the image and adjust its settings in the Properties Window or create a PDF417 barcode with above free C# sample code.
Barcode Images Supported by C# PDF-417 Generator SDK