Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

convert html to 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/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #html #pdf
ADD COMMENT
Topic
Name
2+3 =