Looking for .NET library to create PDF [closed]

纵然是瞬间 提交于 2019-12-13 10:44:17

问题


We are looking for a .NET PDF creator. It needs to be .NET, so we can just copy the file(s) onto the server, not having to install anything.

We only need to create a PDF with some text and images and a heading, that's all.

Anyone know a good one? We are happy to buy if there is a good one that is easy to use.

Thanks in advance.


回答1:


We've been using iTextSharp with some success, but I haven't worked with it directly.

We've used it with images and text, it's free to use, and doesn't seem to require anything beyond the iTextSharp dll. License is Affero GPL




回答2:


I have used iTextSharp and PDFSharp (http://pdfsharp.com/PDFsharp/index.php). PDFSharp handles images better.




回答3:


I've used FO.NET before and have been very happy with the degree of control I have over the PDF output. If the source data for your document is XML (or can easily be exported as XML), simply define an XSLT to transform the XML to XSL-FO and run it through FO.NET.

What's nice about this approach is the XSLT serves as the template for your PDF (instead of creating document elements in code).




回答4:


I've used iTextSharp to good effect, but its not trivial to write code to generate pdfs.




回答5:


Not sure if this is feasible for you, but we use Business Objects, and it exports to a number of formats. The SDK lets you run a report on the fly and save it as PDF without much trouble.

If you've got access to an enterprise reporting system, that's another way to go.




回答6:


PdfLib - http://www.pdflib.com/ - very fast - not free



来源:https://stackoverflow.com/questions/2619788/looking-for-net-library-to-create-pdf

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