Free Support Forum -

Extract new PDF when Spanning multiple Pages

I have an application where the PDF is several hundred pages and I need to extract some of the data into their own PDF files. I am planning on searching for keywords to locate where I need to start my new pdf document, however sometimes the data will span more than the current page and will be on the next page. How would I go about merging / concatenating this data into a single file?


Thank you for contacting support.

You would need some marker to find out start and end of required content. Then you can split any number of pages into separate PDF document using Pages.Add(Page) method as explained in Split PDF File.

We hope this will be helpful. Please feel free to contact us if you need any further assistance.