Edit PDF documents in Delphi

2020-07-20 04:51发布

问题:

We have a requirement to add the ability to edit PDF documents witin a Delphi application.

I.e. given a PDF document, open it and generate a form with edit boxes on it which the user can use to update the PDF document.

Can anyone suggest a third part component that would provide this functionality or suggest some way of achieving this.

Thanks

回答1:

I use QuickPDF. Well documented, lots of examples, good support. However updating text in a PDF is an art, not a science, and unless you have full control over the producer of the PDF you may find it hard to do in the general case. For example: I have seen PDFs where text is formed from individual characters, each inserted at a specific location, so hard to edit as words; and of course in some PDFs the 'text' is actually an image of text, requiring OCR before you can edit it.



回答2:

You can try Gnostice PDFtoolkit.

DISCLAIMER: I work for Gnostice.



回答3:

Take a look at Amyuni PDF Creator ActiveX, it is supported in 32 bit and 64 bit applications, you may find it useful now that Delphi has a 64 compiler.

Usual disclaimer applies