How to Use ASP.NET Barcode Reader SDK to Decode PDF-417 2D Barcode Image
Provide free & mature ASP.NET Barcode Reader SDK trial version for Evaluation purpose
Easily implement ASP.NET PDF-417 barcode reading dll to Visual Studio .NET Framework applications
Read PDF-417 barcode images for ASP.NET Web Services & ASP.NET Website applications
Recognise PDF-417 barcode images for .NET Class Library, and Console Applications
Automatically detect PDF-417 barcode in source image file and immediately output data string or binary values
Support main 1d (linear) barcodes reading for ASP.NET, such as Codabar, Code 39, Code 128, EAN/UPC
Support common 2d (matrix) barcodes reading for ASP.NET, Data Matrix, QR-Code
PDF-417 ASP.NET Barcode Reader DLL - Installation
Please firstly download Barcode ASP.NET Reader SDK free trial.
Find "BarcodeLib.BarcodeReader.dll" in downloaded package and add it to your ASP.NET project reference.
PDF-417 ASP.NET Barcode Reader DLL - Using C# Code
Please copy the C# sample code below to your ASP.NET class library. Then our PDF417 ASP.NET Reader SDK will detect your PDF417 barcode and quickly return its data string or binary values.
In this way, all PDF417 barcodes data in sample image "pdf417-aspnet.gif" will be detected and recognized.
PDF-417 ASP.NET Barcode Reader DLL - Using VB.NET Code
Please use the VB.NET demo code below to read all PDF417 barcodes from your ASP.NET project source file. Here, let's take "pdf417-aspnet.gif" as an example.
Dim datas() AsString = BarcodeReader.read("c:/pdf417-aspnet.gif", BarcodeReader.PDF417)
Then, all PDF-417 barcodes data in sample image "pdf417-aspnet.gif" will be detected and scanned.
PDF-417 ASP.NET Barcode Reader DLL - Fast Recognition Rate
BarcodeLib.com designs some special features for high-speed ASP.NET PDF-417 barcode reading from a large source image (like 4mb per image).
To read maximum one PDF-417 barcode: If there is maximum one PDF-417 barcode per image, per page in tiff or pdf document, please:
a. Set "maxOneBarcodePerPage" to true, then the process of PDF-417 reading will be stopped when our PDF-417 ASP.NET Barcode Scanner SDK detects one PDF-417 barcode.
b. Set "maxOneBarcodePerPage" to true (default value), and our PDF-417 ASP.NET Barcode Scanner SDK will use total 5 algorithms and each will read the whole image from 4 directions.
To read a special part of source image instead of the whole file: If the PDF-417 is always at a specific area in the source image file, please: a. Set our ASP.NET PDF-417 Reader SDK to scan that area only. This can help to save a lot of scanning time, CPU and memory usage.
b. To do so, you should clarify the left top point and right bottom point of the area (the point X, Y values are expressed in percentage of the whole image, so image most left top point is (0%, 0%), and most right bottom point is (100%, 100%)). And we provide the following free C# & VB.NET codes to achieve this.
Free C# Demo Code for ASP.NET PDF-417 Barcode Decoding:
OptimizeSetting setting = new OptimizeSetting();
setting.setMaxOneBarcodePerPage(true);
ScanArea top20 = new ScanArea(new PointF(0.0F, 0.0F), new PointF(100.0F, 20.0F));
ScanArea bottom20 = new ScanArea(new PointF(0.0F, 80.0F), new PointF(100.0F, 100.0F));
List<ScanArea> areas = new List<ScanArea>(); areas.Add(top20); areas.Add(bottom20);