Конвертируйте съдържанието на html в PDF формат с помощта на c # и asp.net
Примерен код
4
0
конвертиране на html в pdf c#
var htmlContent = String.Format("<body>Hello world: {0}</body>", DateTime.Now);
var pdfBytes = (new NReco.PdfGenerator.HtmlToPdfConverter()).GeneratePdf(htmlContent);
//https://www.nrecosite.com/doc/NReco.PdfGenerator/