PDF split document based on Barcode

I have a PDF which consist of 20 pages (example) and the name of the file is “SampleDocProPDF” I want to split the PDF if there is a barcode on the page like if page 5,9,16 contains a barcode the file will be splited into “SampleDocProPDF_1” from page 1 to 4,
“SampleDocProPDF_2” from page 6 to 8, “SampleDocProPDF_3” from page 10 to 15, “SampleDocProPDF_4” from page 17 to 20.

how can I achieve this

@Niteen_Jadhav

Document splitting can be accomplished in various ways, either by providing an array of page numbers or by specifying start and end page numbers.

Currently, there is no such feature. However, we have created a ticket for further investigation. Your ticket ID for this investigation is MERGERNET-1849.

Can I identify whether a page contains a barcode?

So that I can right a code based on that

Basically I’m splitting the document based on barcode and the page which contains barcode will not have any other text data

@Niteen_Jadhav

Hello, we would like to suggest the following approach:

  1. Search for barcodes using GroupDocs.Signature and identify the page numbers:
    Search for Barcode e-signatures | Documentation
  2. Split the document with GroupDocs.Merger by passing the list of found pages:
    Split document | Documentation

Thanks