Best C# API to create PDF

C#.NetPdf Generation

C# Problem Overview


Can you recomend any PDF API for C#. Free is the best, but I don't mind paying for it.

C# Solutions


Solution 1 - C#

I used PdfSharp. It's free, open source and quite convenient to use, but I can't say whether it is the best or not, because I haven't really used anything else.

Solution 2 - C#

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

Solution 3 - C#

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)

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSvenView Question on Stackoverflow
Solution 1 - C#n535View Answer on Stackoverflow
Solution 2 - C#JYeltonView Answer on Stackoverflow
Solution 3 - C#JustinView Answer on Stackoverflow