开发者

What is easiest way to merge two or more pdf files in Delphi?

开发者 https://www.devze.com 2022-12-08 06:32 出处:网络
I\'d like to be able to merge multiple pdfs into one file using Delphi 2009.I\'d be willing to look at third party components for this.

I'd like to be able to merge multiple pdfs into one file using Delphi 2009. I'd be willing to look at third party components for this.

Please do not suggest Gnostice's products - I have tried to use them for this and have been开发者_开发问答 disappointed so far.


The simplest way that I have found was to use a free command-line program, pdftk

http://www.pdftk.com/

Merge Two or More PDFs into a New Document:

pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf


If you have Adobe writer / creator could you automate it? I believe there is an SDK...


I would recommend Amyuni PDF Creator ActiveX for this task. There is a C# example in a SO answer I posted, the Delphi equivalent would be very similar.
Disclaimer: I am part of the development team of this product.


Use Debenu.Quick.PDF.Library there are Methods for merging.

0

精彩评论

暂无评论...
验证码 换一张
取 消