How to generate PDF file using X++?

送分小仙女□ 提交于 2019-12-24 19:33:50

问题


Can I create simple pdf file in x++? In this pdf I would like to have for example select from one table or simple static text.


回答1:


MorphX reports can be saved to PDF by using the proper print settings beforehand.

SSRS reports can do this also using similar tricks.

Another way is to generate RTF, then let Word do the PDF creation. Silly, but maybe the PDF is smaller or better looking.

It is possible, but not simple, to generate PDF directly by using third party .Net components.




回答2:


Some weeks ago, I used the Evo HTML to PDF library http://www.evopdf.com/ to convert simple HTML templates to PDF and it worked great. It can convert plain text as well, so maybe it could be useful for you. Natively, AX hasn't anything to create PDF files.



来源:https://stackoverflow.com/questions/45833607/how-to-generate-pdf-file-using-x

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