Reading Barcodes and QR

The BarcodeReader.QuicklyReadOneBarcode method in the IronBarCode namespace is an incredibly useful utility for reading barcodes for in the .NET framework. By specifying a barcode encoding format, we can greatly improve performance, and by setting the TryHarder variable to True, we can cause it to automatically correct for perspective and digital noise.

The QuicklyReadAllBarcodes method is very similar; however, it can be used to read multiple barcodes for multipage documents such as PDFs or multipage TIFFs.

We can also see from this example that we may choose to only read barcodes from a specific area of a document using a System.Drawing.Rectangle. This is very useful when we’re reading barcodes from regular locations within documents such as memos, invoices, or checks.