How to Start Convert PDF Read PDF Build PDF Work with PDF Modules PDF Document PDF Pages Text Image Graph & Path Annotation, Markup & Drawing Redaction Security Digital Signature Forms Watermark Bookmark Link File Attachment File Metadata Printing Work with Other SDKs Barcode read Barcode create OCR Twain

C# PDF Parser Library
How to read linear, 2d barcodes from PDF file using C#.NET PDF barcode add-on

Using C# Code to Scan 1D and 2D Barcodes on PDF Document Page in C#.NET Application

C# PDF Barcode Reading Overview

C#.NET PDF Barcode Reader & Scanner Controls from RasterEdge DocImage SDK for .NET is a professional barcode detecting and decoding library toolkit designed specifically for linear and 2d barcodes reading, scanning and recognition from PDF document files in C#.NET class applications.

Main features about C#.NET PDF Barcode Reader:

Read & scan most 1d and 2d barcodes from PDF document using C# code in .NET

Detect & decode barcode from whole or partial PDF document page using C#.NET

Recognize barcode from PDF document and return decoded barcode value to data string

Speed up barcode reading rate from PDF by limiting detected barcode number using C#.NET code

Support multi-threaded barcode recognition from PDF with high performance

Recognized barcode value will be returned with 100% accuracy

Sample Code for C#.NET PDF Barcode Recognition

This is a simple C# example for PDF barcode reading. If you want to try more demo codes, please refer to the site RasterEdge.XImage.BarcodeScanner.

public static void ReadBarcodeFromPDF(string filename, int pageIndex)
      // generate PDF document
      PDFDocument doc = new PDFDocument(filename);

      // get the page you want to read barcode from
      BasePage page = doc.GetPage(pageIndex);

      // set reader setting
      ReaderSettings setting = new ReaderSettings();

      // read out barcode information
      Barcode[] barcodes = BarcodeReader.ReadBarcodes(setting, page);

      // output barcode information
      foreach (Barcode barcode in barcodes)