Mon Jun 27, 2022 5:27 am
CreatePdf(url, path + name + ".pdf");
public static void CreatePdf(string url,string path)
{
HtmlConverter.Convert(url, path, true, 100000, SizeF.Empty, new PdfMargins(0));
}
Url - For webpage to pdf
path - Path to save the pdf
Our backend is .net core