Click here to Skip to main content
13,088,305 members (54,705 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I need to merge an PDF with another PDF in C# .net

Where the first PDF is stored in an folder and the second PDF is generated dynamically at the runtime.

I need the merge the static file with the dynamic file. the output PDF must be generated.

Please share your ideas.

Thanks in advance.


[edit]SHOUTING removed - OriginalGriff[/edit]
Posted 30-Apr-13 3:13am
Updated 30-Apr-13 3:22am
OriginalGriff 30-Apr-13 9:23am
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Using iTextSharp .dll you can merged the .pdf files.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Take a look: Simple .NET PDF Merger[^]

There are a couple of PDF mergers available on the Internet. But, either they are commercial products or don't support printing of the header and/or footer text, which is particularly interesting, e.g., to print the page number.
The presented PDF merger uses the open source PDF library iTextSharp to process PDF files. The sample solution also includes a tiny Windows Forms application to demonstrate the functionality.

Fortunately we have such a good thing as code project, don't we dude?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 30 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100