I am sure we have all been in that situation where you have a few PDF files and need to combine them together. Short of getting Acrobat Pro or using some online service, there isn't an easy way to do it.
So I decided to write something myself. And I shared the code on Github.
I wrote the application in C#.Net and it is designed to take 2 or more PDF files and combine them into a single PDF. It used the iTextSharp
Nuget package which can do many things including manipulate PDF files.
Here are the steps to make the application work:
- download the application source code
- compile the source code and extract the .exe file
- place all individual PDF files into a single folder location
- place the .exe file in the same location
- run the .exe file
This should result in a new file in the folder location called CombinedDocument.pdf
. This file is an aggregate of all individual files where each new PDF begins on a new page.
Simple as that.