Rank: Member Groups: Member
Joined: 6/1/2011 Posts: 18
|
I'm looking at using the EO.pdf product.
I have a server directory that contains about 80 pdf files. What I need to do is combine/merge these pdf files into one master pdf file.
Looking at the demo code, it shows declaring a variable for each file to merge and the method allows only 2 files are allowed to merge together. How could I merge these together without having to specify a variable for each pdf file?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You can merge as many as you want. See here: http://www.essentialobjects.com/doc/4/eo.pdf.pdfdocument.merge_overloads.aspxWhile the second and the third Merge function only merges two files, the first one takes an array, so you can pass as many PdfDocument object in as needed. Even with the second and the third, you can call them in a loop to keep merge 2 into 1 and eventually merging all into one. Thanks!
|