We have a C# Windows service that currently processes all the PDFs by reading the 2D barcode on the PDF using a 3rd party component and then updates the database and stores the document in the Document repository.
Is there a way I can cut the files after reading the barcode and store it as another document?
For example if there is a 10 page document, it should split into 10 different files.
Thanks.
A previous question answers your partially - how to split pdf documents, if you know where the barcodes are then you can split the documents easily:
How can I split up a PDF file into pages (preferably C#)
The recommendation is a library called PDFSharp and a sample demonstrating PDF splitting.