DEV Community

burak
burak

Posted on

Pdf Converter

If you need a nice pdf convertor NuGet packages here is the good one. You can use with .net framework and .net core

Select.HtmlToPdf.NetCore

Sample code:

HtmlToPdf converter = new HtmlToPdf();
PdfDocument doc = converter.ConvertUrl(url);
doc.Save("Book" + "_" + page + ".pdf");
doc.Close();
Enter fullscreen mode Exit fullscreen mode

Happy coding days

Top comments (0)