ITextSharp, Possible to split file on chapters
Is it possible to get the pages of a chapter in ITextsharp or somehow spl开发者_开发问答it the file on chapters in vb.net, basically I'm concatenating multiple files into one pdf and separating them as chapters but sometimes I'll need to read these chapters out separately, is this possible?
I used this example with great success
Merge PDF files with IText# And .Net
The trick is to use this keeping your pages in memory stream so you can a) write them as individual pages and b) hand them to the merger to merge together.
It is fast too. I have code that can produce 100s of documents in less than a minute, in merged and singular form.
精彩评论