Can you recomend any PDF API for C#. Free is the best, but i dont mind paying for it.
Update:
I'm not sure when or if the license changed for the iText# library, but it is licensed under AGPL which means it must be licensed if included with a closed-source product. The question does not (currently) require free or open-source libraries. One should always investigate the license type of any library used in a project.
I have used iText# with success in .NET C# 3.5; it is a port of the open source Java library for PDF generation and it's free.
There is a NuGet package available for iTextSharp version 5 and the official developer documentation, as well as C# examples, can be found at itextpdf.com
I used PdfSharp. It's free, open source and quite convenient to use, but i can't say whether it is the best, because i haven't really used anything else.
I have recently completed a project in which we used Aspose.Pdf for .NET. I think it was quite nice to work with and well worth its price if iTextSharp isn't something for you.
My work uses Winnovative's PDF generator (We've used it mainly to convert HTML to PDF, but you can generate it other ways as well)
来源:https://stackoverflow.com/questions/2937797/best-c-sharp-api-to-create-pdf