Aan
Aan

Reputation: 12910

Appending two pdf files

How can I append a new pdf file with an old one using C#? Do I need an external lib for that?

Upvotes: 1

Views: 246

Answers (4)

paparazzo
paparazzo

Reputation: 45096

Can also use Adobe Acrobat but it does not automate nicely. If you have it and already paid for then give it a try. If you are going to buy something then I would not recommend Adobe Acrobat (for automation).

Upvotes: 0

David Waters
David Waters

Reputation: 12028

There is no built in support for manipulating pdf files within the .net framework. You can roll your own (a world of pain), or use an existing pdf library link iTextdotNet. I have not used iTextdotNet, but have used the iText(java) library it is derived from with success.

Upvotes: 1

urlreader
urlreader

Reputation: 6615

you can use iTextSharp library, here is an example: http://www.codeproject.com/Articles/28283/Simple-NET-PDF-Merger

Upvotes: 1

Aaron Romine
Aaron Romine

Reputation: 1589

Yeah you won't get this out of the box w/ .NET. You can look at http://itextpdf.com/ or some other commercial libraries. There are some open source pieces out there, you may want to check http://www.pdfsharp.net/. I haven't used these much in .NET, but worth a look.

Upvotes: 1

Related Questions