在 Delphi 中编辑 PDF 文档 [英] Edit PDF documents in Delphi
问题描述
我们需要添加在 Delphi 应用程序中编辑 PDF 文档的功能.
We have a requirement to add the ability to edit PDF documents witin a Delphi application.
即给定一个 PDF 文档,打开它并生成一个带有编辑框的表单,用户可以使用它来更新 PDF 文档.
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.
谢谢
推荐答案
我使用 QuickPDF.有据可查,很多例子,很好的支持.然而,更新 PDF 中的文本是一门艺术,而不是科学,除非您完全控制 PDF 的制作者,否则您可能会发现在一般情况下很难做到.例如:我见过 PDF 中的文本由单个字符组成,每个字符都插入到特定位置,因此很难像单词一样编辑;当然,在某些 PDF 中,文本"实际上是文本图像,需要 OCR 才能对其进行编辑.
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.
这篇关于在 Delphi 中编辑 PDF 文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!