PDF417 barcode is a two-dimensional barcode symbology that is actually a stacked linear bar code, thus encode more data information within it compared with other 1D barcodes. It is commonly used on tax forms and driver's licenses. In design, PDF417 barcode can be decoded and recognized by our .NET Barcode Recognition Solution. C# and VB.NET developers can easily integrate pqScan.BarcodeScanner.dll into Windows and web applications and use professional 2D barcode reading APIs to read and return PDF-417 bar code text values. More features are depicted as below.
- Support scanning PDF417 barcode from common raster images, like bmp, jpg, jpeg, png, tif, tiff, and gif
- Return barcode values as an array, including both encoded text data and barcode type
- Recognize all PDF417 barcodes from an image source at a time that includes several barcode types
- The image source can be from the local pictrue, camera photo, webcam screenshot or your hand phone
- Able to scan and decode PDF417 2d barcode from PDF document
How to: Scanning PDF417 in .NET
It is simple to implement above PDF417 barcode reading features in .NET, C#, & VB.NET applications. Firstly, please download pqScan .NET Barcode Scanner (free trial) online and unzip it. Then, locate pqScan.BarcodeScanner.dll and add it to your Visual Studio .NET project reference. Later, you may directly use the following .NET APIs to read and decode PDF-417 from various image file formats.
Just suppose that you know the barcodes on your images are PDF417 only. Then, with the following three .NET APIs, you can read all PDF-417 bar codes from loaded image files that might be in the form of Bitmap, Stream or picture at the disk. The barcodes can be located in any position of the image, top or bottom, left or right, all can be scanned out using pqScan .net barcode decoding software.
public static BarcodeResult Scan(Bitmap bitmap);
public static BarcodeResult Scan(Stream stream);
public static BarcodeResult Scan(string filename);
Of course, sometimes you may have several other barcodes on your image files, like 2D barcodes QR Code, Data Matrix and Aztec Code, as well as 1D barcode Code 39. What if you only want to scan and decode PDF-417 from your images, how to achieve that? Try the following APIs that can be used to define a specific barcode type for such a situation.
public static BarcodeResult Scan(Bitmap bitmap, BarCodeType barType);
public static BarcodeResult Scan(Stream stream, BarCodeType barType);
public static BarcodeResult Scan(string filename, BarCodeType barType);
Moreover, to improve barcode recognition accuracy, we provide the APIs for one barcode recognition. It is suitable when there's only one barcode on your image.
public static BarcodeResult ScanSingle(Bitmap bitmap);
public static BarcodeResult ScanSingle(Stream stream);
public static BarcodeResult ScanSingle(string filename);
Within seconds, the scanning results of defined PDF-417 barcodes will be returned in your Visual Studio .NET project as the form of array. For later output form, you can customize on your own. Here, you may get more C# and VB.NET demo codes for recognizing (PDF417) barcode on bmp, jpg, jpeg, png, tif, tiff, and gif image files.
Please note that, our PDF417 barcode scanning dll can only detect and read barcodes from image files in .NET web and windows programs. But now, we support decoding barcode from PDF document file as well. For this case, pqScan .NET Converter for PDF to Image should be used together, firstly rendering PDF to image file.
Barcode Scanner for .NET
How to Scan Barcode
QR Code .NET Reading Guide
Data Matrix .NET Reading Guide
Aztec Code .NET Reading Guide
Code 128 .NET Reading Guide
Code 39 .NET Reading Guide
EAN-13 .NET Reading Guide
EAN-8 .NET Reading Guide
UPC-A .NET Reading Guide
UPC-E .NET Reading Guide
Code 93 .NET Reading Guide
Codabar .NET Reading Guide
ITF-14 .NET Reading Guide
View All Barcodes >>
Compared to other products, functionality and price, this one is really the superb. Their customer service is great. The contact staff is very responsive to my questions and go above and beyond to help.