- Totally compiled in Visual C#.NET 2.0
- Compatible with .NET 2.0, 3.0, 3.5 and later version
- Have fast reading speed
- Support reading distorted PDF-417 barcode images
- Read PDF-417 barcodes from all angles
- Scan multiple PDF-417 barcodes in a single image file
- Support GIF, JPEG, PNG & TIFF formats
This tutorial shows you how to integrate the KeepAutomation PDF-417 Reader SDK into your .NET projects.
You will learn how to install the library, read standard and Macro PDF-417 barcodes, and extract full structural and metadata details.
The KeepAutomation C# PDF-417 Reader SDK is a high-performance linear and 2D barcode recognition library for the .NET platform.
It provides reliable decoding for both standard and Macro PDF-417 barcodes across all .NET application types.
Download PDF-417 .NET Barcode Reader
- KeepAutomation.BarcodeReader.dll
- End user license agreement
- User manual, and order page
Note: With the evaluation of .NET Barcode Reader offered online, users can scan multiple linear and 2D barcode images in .NET projects. But the evaluation version of our .NET barcode reader decodes the first character of a barcode symbology randomly.
.NET PDF-417 Barcode Reader User Manual
- Add reference KeepAutomation.BarcodeReader.dll to your project.
- Apply the following C# & VB demo codes below.
C# Sample code
using KeepAutomation.BarcodeReader;
String[] datas = BarcodeReader.readBarcode("C:\barcode.tiff", BarcodeType.PDF417);
VB Sample code
Imports KeepAutomation.BarcodeReader
Dim datas As [String]() = BarcodeReader.readBarcode("C:\barcode.tiff", BarcodeType.PDF417)
Extract PDF-417 Barcode Properties in C#
You can retrieve full barcode metadata using the PDF417Props class.
Available Properties
- ColumnCount: Number of data columns (excluding start/stop patterns)
- RowCount: Total rows in the PDF-417 symbol
- DataMode: Encoding data mode
- ECL: Error correction level
- IsMacro: Indicates whether the barcode is a Macro PDF-417
- MacroSegmentIndex: Segment position (starts at 0)
- MacroFileID: File identifier for grouped segments
- IsMacroLastSegment: Marks the final segment
- MacroOptFieldEnable: Indicates optional metadata fields exist
- Macro optional fields: FileName, SegmentCount, TimeStamp, Sender, Addressee, FileSize, Checksum
Read Macro PDF-417 Barcodes Using C#
Macro PDF-417 allows large files to be split across multiple PDF-417 symbols.
This works like Structured Append in QR Code and Data Matrix.
Each segment includes metadata to reconstruct the original file.
- File ID: Groups segments belonging to the same file
- Segment Index: Defines the segment order (starting at 0)
- Last Segment Flag: Identifies the final segment
Summary
The KeepAutomation C# PDF-417 Reader SDK provides stable, high-speed decoding for all .NET environments.
You can easily integrate it into VB.NET, WinForms, WPF, ASP.NET, and console applications.
The library fully supports both standard PDF-417 and Macro PDF-417 with complete metadata extraction.
- Full property access for columns, rows, ECL, data mode, and Macro fields
- Dedicated methods for reading Macro PDF-417 segments and file information
Frequently Asked Questions
Where is the PDF417 barcode typically applied?
PDF417 is a high-density stacked 2D barcode. This barcode is commonly found in identification, travel, and inventory control. Its typical applications include ID cards, airline boarding passes, and managing shipping labels.
Using KeepAutomation C# PDF417 Barcode Reader library, you can scan, decode PDF417 stacked barcode from image file in Visual Studio .NET projects.
How to scan and read PDF417 barcode images?
Scan and read PDF417 barcodes with a smartphone (via a camera app), You'll often see it storing personal information on driver's licenses
and encoding shipping details in supply chain management.
Using C# PDF417 Scanner SDK, you can quickly read, scan PDF417 codes from barcode images in
C# ASP.NET Core, MVC, Windows Forms, WPF web and desktop applications.
Do mobile devices support PDF417 scanning?
Yes. Scanning a PDF417 is possible on most iPhones and Android phones by installing a barcode scanner app from the app store.
You can build a web or installed app to scan PDF417 in your iPhone or Android phones using KeepAutomation C# PDF417 barcode reader library.
How do PDF417 and QR Codes compare?
PDF417 and QR Code are both 2D barcodes, but they differ in error correction. PDF417 can still be scanned with up to 50% damage,
whereas QR Code tolerates up to 30% damage.
Using C# Barcode Reader library API, you can read, scan PDF417 and QR Code codes from partial damaged images in
C# ASP.NET Core, MVC, Windows Forms, WPF web and desktop applications.