If you need a nice pdf convertor NuGet packages here is the good one. You can use with .net framework and .net core
Sample code:
HtmlToPdf converter = new HtmlToPdf();
PdfDocument doc = converter.ConvertUrl(url);
doc.Save("Book" + "_" + page + ".pdf");
doc.Close();
Happy coding days
Top comments (0)