Can anyone recomend the easiest tool to generate pdfs in c#?

Anonymous
2022-03-08T08:09:05.887+00:00

I am trying to generate a PDF from C# Library for my project. Any tools you guys can suggest would be great, either Free or Paid. I am open to any options.

Thank you!

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,015 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Castorix31 85,881 Reputation points
    2022-03-08T09:18:48.467+00:00

    No tool is needed

    Just print to "Microsoft Print to PDF" with PrinterSettings.PrinterName

    0 comments No comments

  2. Jack J Jun 24,516 Reputation points Microsoft Vendor
    2022-03-08T09:28:09.367+00:00

    anonymous user, Welcome to Microsoft Q&A,

    If you want to look for library to gernerate the pdf file in c#, I recommend that you use itextsharp, because it is free.

    Just add nuget-package iTextSharp in your visual studio first of all.

    Also, I made a code example to generate the pdf, you could have a check.

    How Create itextsharp Pdf Add images in c#

    Hope this could help you.

    Best Regards,
    Jack


    If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. laurentcutey-3677 16 Reputation points
    2022-04-04T09:35:42.293+00:00

    LOL

    FAKE question for FAKE answer to SPAM IronPDF...

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.