Read barcode from PDF and Split PDF document using C#.NET

The situation that I’m trying to deal with is this:
- User puts a stack of documents into a scanner
- The first page of each document has a barcode
- All documents are scanned at once, into a single PDF
- I need to break apart the PDF back into separate documents by finding the barcodes

Do you have sample C# (or other) code that would do this using Aspose’s Barcoding and PDF packages? Thanks!

Bryan

Hi Bryan,


We do not have any sample to do exactly the same job, but
  1. For finding/recognizing barcodes from a PDF document, please visit Recognize barcode from pdf document for sample code
  2. For splitting a single PDF file to multiple PDF files, please refer to Extract pages from a pdf document.
You may use the sample code in “1” to extract images from PDF page by page and keep track of the page in which barcode is found.

1 Like