What .net component for creating PDF files can you recommend ?
One condition is that it has to be able to create PDF files from HTML
EDIT: Preferably it would be free.
What .net component for creating PDF files can you recommend ?
One condition is that it has to be able to create PDF files from HTML
EDIT: Preferably it would be free.
That has been covered here: http://stackoverflow.com/questions/177/how-do-i-programmatically-create-a-pdf-in-my-net-application
Granted, the accepted answer ended up being Aspose.pdf, but there are 30 other answers there in case that doesn't work for your needs. Like, if you don't want to actually pay for it :P
I did search before asking yet i didn't find that thread. But on the other hand I am asking about something more specific ( free and be able to convert from html).
In addition to the thread Adam Haile mentioned, see also this one.
SharpPDF is top notch. Fast to get started and covers enough ground to support most projects.
When I used it on a .NET project I did add a couple of functions so that I could position page components using measures other than points - plus I prefer to work from the top of the page rather than from the bottom as PDF docs do.
Oh and it's free.
Like Bryan, I've also used iText Sharp. There is also a book on the Java version (iText) iText in Action: Creating and Manipulating PDF which although Java, gives good guidance on how to use it. I think the author is also one of the folks who ported iText to .NET. There is also a great tutorial here.
LibHaru seems to be used by many.
PDF Creator Pilot provides more language options as well
PDF Creator Pilot - PDF Library for C++, C#, Delphi, ASP, ASP.NET, VB, VB.NET, VBScript, PHP, Python
It's not ideal (especially for HTML), but Word2007 has a SaveAsPDF plug in available which can be accessed programatically.