Does anyone has some example code to concatenate PDFs in memory?
I can find code to concatenate PDFs files stored in the hard drive and save the concatenation result in the harddrive. but I cannot see any example that can load two PDFs from byte arrays and then return another byte array with the concatenation of the input...
This has to be done because it is a Web App and reading/writing from disk will give a very poor performance (Apart from permission problems).
Thanks,
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does anyone has some example code to concatenate PDFs in memory?
I can find code to concatenate PDFs files stored in the hard drive and save the concatenation result in the harddrive. but I cannot see any example that can load two PDFs from byte arrays and then return another byte array with the concatenation of the input...
This has to be done because it is a Web App and reading/writing from disk will give a very poor performance (Apart from permission problems).
Thanks,
David
There is PdfReader(SByte[]) or PdfReader(Byte[]) contructor.
You can do it by using them instead of PdfReader(String filename) constructor.