Can iTextSharp open an RTF document, manipulate it, and export the document to PDF?

独自空忆成欢 提交于 2019-11-29 17:29:42

No it is not possible per se with iTextSharp. Better approach will be to use Word Object to open document, do mailmerge and then save those documents ad HTML. Now you can use iTextSharp to parse html and create PDF.

To parse an RTF document you can use a cool library called RtfDomParser. It builds a hierarchical tree of your RTF document you can parse to generate (manually) the PDF file.

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