问题
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