I am having issue while splitting a large pdf into multiple pdfs files.
Details
There are 10 pdf files concatenated together into a large single PDF file. There is a separator page between each PDF file.
In reality the large pdf will be given to us by client using the separator that we provide. For this sample application though I have created “Sample.pdf” and it is provided in attached solution.
I want to split this large pdf into individual PDF file. The separator is used to detect end of single document. I use TextAbsorber to read the text from the page.
Issue
In the code I loop through all the pages of “Sample.pdf” While debugging, I see "Pages" collection has all the pages, however when I execute application without debugging all pages from 3rd page onwards are null.
See the attached screenshots
Executing the Application
1>Extract attached zip
2>Open PDfSplitter solution. Include your own license file into "Lib" folder.
3>Set the license file's build Action to "Embedded Resource"
4>Execute the application.
I also wanted to know if this is recommended solution to divide and then detect multiple pdf documents?