- Compatible with .NET Framework 2.0, 3.0, 3.5 and above versions
- Full integration into .NET applications with strong-named assemblies
- Latest ISO/IEC specification for 2D PDF-417 pre-configured to ensure sannability
- Generate high-quality PDF-417 matrix barcode pictures in Visual Basic .NET projects
- Support multiple .NET projects like ASP.NET websites, WinForms, Console Applications, etc.
- Easy to draw and save generated PDF-417 in various image formats (Gif, Jpeg/Jpg, Png, etc)
- Adjust PDF-417 image settings in VB including width, height, rotation, color, etc.
- Allow advanced PDF-417 matrix barcode image output for all printers by resolution customization
PDF-417 Barcode Control Introduction in VB.NET
KA.Barcode Generator for .NET Suite allows developers to create and encode PDF-417, MacroPDF-417 barcodes and other linear & bi-dimensional barcode symbols in .NET development environments, such as Microsoft Visual Studio 2005/2008/2010. In addition, KeepAutomation provides complete barcoding tutorials for PDF-417 data encoding, size & image setting tutorials with detailed VB.NET sample code.
Download KA.Barcode for .NET Suite evaluation package for free.
PDF-417 Barcode Introduction
PDF-417, also named as Portable Data File 417, PDF 417 & PDF417 Truncated, is a stacked barcode symbol used mainly in transport, inventory management and identification cards.
KeepAutomation supports the following PDF-417 data formats:
- Auto: KeepAutomation's software will select proper data format according to input data
- Text: each codeword represents one or two characters
- Byte: each group of 5 codewords represents 6 bytes
- Numeric: groups of up to 15 codewords represent as many as 44 decimal digits
Advanced PDF-417 Customization in VB.NET
PDF-417 Error Correction Level (ECL) Configuration
PDF-417 uses error correction codewords to detect and fix damaged symbols.
Each symbol includes a minimum of two error correction codewords.
You can select the correction level using the ECL property in VB.NET.
Supported Error Correction Levels
- Level 0: 2 error correction codewords
- Level 1: 4 error correction codewords
- Level 2: 8 error correction codewords
- Level 3: 16 error correction codewords
- Level 4: 32 error correction codewords
- Level 5: 64 error correction codewords
- Level 6: 128 error correction codewords
- Level 7: 256 error correction codewords
- Level 8: 512 error correction codewords
How to apply PDF417 ECL settings in VB.NET?
- Set the desired level via the ECL property
Create Compact (Truncated) PDF-417 Barcodes
Truncated PDF-417 (Compact PDF-417) reduces symbol size for space-limited applications.
This format is recommended for environments where physical damage is unlikely.
- Create a new PDF417 object in Visual Basic class.
- Assign your data to the Data property.
- Set Truncated = True to enable compact mode.
- Generate the barcode image.
Create Macro PDF-417 Barcodes in VB.NET
Macro PDF-417 allows you to split large datasets across multiple PDF-417 symbols.
You can use up to 99,999 linked symbols for extended data storage.
This feature is ideal for large file transmission in WinForms/WPF applications.
- Set Macro = True to enable Macro PDF-417 mode.
- Assign a unique MacroFileIndex (shared by all linked symbols).
- Define MacroSegmentCount (total number of symbols).
- Set MacroSegmentIndex (sequence position, starting at 0).
Note:
All symbols in the same Macro group must use the same MacroFileIndex for successful scanning and data reconstruction.
Frequently Asked Questions
What is the use of PDF417?
PDF417 is a dense, stacked 2D barcode format. It's applied in many scenarios, such as driver's licenses,
travel documents, secure identification cards, airline boarding passes, transport, and inventory management.
What's the main difference between a PDF417 and a QR code?
These are two common 2D barcode formats. PDF417 can still be scanned if up to 50% of it is damaged. By contrast, Q but QR codes only up to 30%.
What's the highest storage capacity of a PDF417 barcode?
Under the lowest error correction:
- Text: 1,850 characters
- Bytes: 1,108 characters
- Numerals: 2,710 characters
What determines the aspect ratio of a PDF417?
A printed PDF417's aspect ratio is based on two measurements:
- X: The size of the smallest bar and smallest space.
- Y: The height of each row.