There is no such inbuilt functionality available in asp.net by default. You have to use any third party dll for this one. I would advice to take a look on the PDFSharp library
Convert HTML page to PDF without using itextsharp.dll in asp.net
-
06-03-2022 - |
Question
I am using asp.net with C#. I want to convert my html page to pdf. But I don't want to use "itextsharp.dll" for the same.
I went to lot of Google and sites. I am looking for some free one.
Solution
OTHER TIPS
Take a look at PdfSharp. It's an open source library that easily creates PDF documents from any .NET language.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow