Merge PDF Tool using C# and iTextsharp
Merge PDF is tool designed to merge several individual PDF files located in source place into a single PDF file at destination location. Developed in the .Net platform with XML input and PDF as input and ouput will be merged single PDF file.
Merge PDF Tool
Merge PDF is tool designed to merge several individual PDF files located in source place into a single PDF file at destination location.
• .Net Framework 4.0
• Itextsharp – Free PDF tool version (188.8.131.52)
The configuration is maintained in the XML file. A sample XML is attached for reference and to explain in detail
Refer the XML structure below.
1. OutputFileName – This Node contains the file name of Merged PDF.
2. SourceFiles – XML node contains list of child nodes containing the PDF file names which has to be merged. Depending upon the number of files to be merged the child node count will increase.
Note: Do not change the XML structure.
Refer the image below for final output screen.
1. Source code of MergerPDF
2. XML source to be used as input.