How can I merge 2 Pdf files and created a loop?
I would be really grateful if anyone can help.
Thanks
How can I merge 2 Pdf files and created a loop?
I would be really grateful if anyone can help.
Thanks
Try this way. If you have all PDF files in a single folder
Code:
Merge PDF.zip (147.3 KB)
Thanks,
Ashok
One file is in one path, other is in another.
After merging I also have to rename those files
In that case just collect all the file paths into an array of string. So whatever your logic to find the file to merge, if the need to merge, add it to array of file names using this code.
arrFiles=arrFiles.Concat("To be merge file path").ToArray()
For this use same array you have used for merging files to rename the files like this.
Code for reference:
Merge PDF.zip (147.9 KB)
Thanks,
Ashok
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.