0

I'm looking for the best component to generate HTML to PDF either through an app_service or a function hosted in Azure. We have a large volume of PDFs to generate, on average 2000 per days but this number increases month on month. Therefore we are looking for the best combination based on performance and capability to design our PDFs that provides an acceptable look and feel. Finally each file size is always between 30 and 80 kB

0

Syncfusion Essential PDF supports converting HTML to PDF and can be deployed to Azure

        //Initialize HTML to PDF converter 
        HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter(HtmlRenderingEngine.WebKit);
        WebKitConverterSettings webKitSettings = new WebKitConverterSettings();


        //Assign WebKit settings to the converter
        htmlConverter.ConverterSettings = webKitSettings;

        //Convert url to pdf
        PdfDocument document = htmlConverter.Convert(url);  

        //Save the document.
        document.Save("Sample.pdf");
        document.Close();  

The whole suite of controls is available for free (commercial applications also) through the community license program if you qualify (less than 1 million US Dollars in revenue). The community license is the full product with no limitations or watermarks.

Note: I work for Syncfusion.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.