Link to home
Start Free TrialLog in
Avatar of AndrewBanfer
AndrewBanfer

asked on

Splitting a PDF File into Multiple PDF Files in .Net

How can I split a PDF File into Multiple PDF Files in .Net by a name in the header of a Page?  

So for example if I had a document that had information of people and one of the fields that started each persons information was  Last Name.  How could I read the Last Name, name the new PDF File by Last Name, and save the pages following until the next Last Name shows up?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AndrewBanfer
AndrewBanfer

ASKER

Joe,

Any chance you can place the original code back in an article?

Thanks
Andrew,
I can't do that now for several reasons. But I'd like to study one of your sample PDFs. If you can post one here that doesn't have private/sensitive data, that would be great. But if you don't want to post it here for all to see, drop me a message via the EE Messaging System and I'll give you my private email address so that you can send me a sample PDF. Regards, Joe
The question reads, "How can I split a PDF File into Multiple PDF Files in .Net by a name in the header of a Page?" and "How could I read the Last Name, name the new PDF File by Last Name, and save the pages following until the next Last Name shows up?"

The post https:#a40833052 explains "how" to do it and deserves to be the Accepted Solution, imo. It doesn't actually do it (because I removed the program that does it), but the post, and my two EE articles that it references, certainly explain "how" to do it. Regards, Joe
Thank you, eenookami — much appreciated!