Automate editable PDF

喜欢而已 提交于 2019-12-13 12:41:53

问题


I am working on an application that has a requirement for me to create a document, populated with data captured in my WPF application, for attaching to an email and sending to insurance company.

My client has been performing this by sending an editable PDF document to clients then proof reading upon receipt of completed form and manually attaching to email.

I initially thought of creating a word document laid out same format as existing and automating word using find/replace on placeholders such as etc...

However it would be great if I could populate the existing PDF docs wouldn't it.... Anyone know if possible?

Thanks.


回答1:


You can use PDFsharp/MigraDoc to edit pdf-files. Parsing the existing document and inserting text/images is simple enough, but I don't know if there is any support for actual placeholders.

EDIT: Found this approach, using iTextSharp and form fields: Using itextsharp (or any c# pdf library), how to open a PDF, replace some text, and save it again?



来源:https://stackoverflow.com/questions/14070112/automate-editable-pdf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!