Generate PDF from HTML Documents using C#
Generate PDF from HTML Documents using C#
1. Install Package : Install-package NReco.PdfGenerator 2.Write Down Code as follow : var htmlToPdf = new HtmlToPdfConverter(); var pdfbytes = htmlToPdf.GeneratePdfFromFile("", null); File.WriteAllBytes(" ", pdfbytes);
Comments
Post a Comment