How can I save an image and a small description (text) in PDF using ASP.NET?

Mafiev Dev 1 Reputation point
2021-10-01T09:06:34.837+00:00

i need to export some images and text dynamically to PDF files in ASP.net C#, what is the simplest way to do this ?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,404 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,071 Reputation points
    2021-10-04T04:17:22.317+00:00

    Hi @Mafiev Dev ,
    As far as I think,you could use iTextsharp to convert Html page to PDF and then you could export it.
    More details,you could refer to below articles:
    https://forums.asp.net/t/1760159.aspx?Convert+dynamic+aspx+page+to+PDF
    https://github.com/itext/itextsharp
    Best regards,
    Yijing Sun


    If the answer is helpful, please click "Accept Answer" and upvote it.

    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