Developer forum

Forum » CMS - Standard features » IronPDF RenderDelay setting

IronPDF RenderDelay setting

Filip Hein
Reply

Hi DW

We have a client solution using IronPDF to convert product data sheets into PDF's. The solution has some javascript that needs time to run before the PDF is rendered. There is a RenderDelay setting in IronPDF, is it possible to acces this setting in a standard way through DW without having to make a custom workaround?

Best regards

Filip


Replies

 
Kevin O'Driscoll
Reply
This post has been marked as an answer

Hi Flip I'm doing it this way hope it may help:

IronPdfRendererProvider DwIronPdfRendererProvider = new IronPdfRendererProvider();

                Dynamicweb.Imaging.PdfRendererSettings settings = new Dynamicweb.Imaging.PdfRendererSettings();
                settings.PaperSize = Dynamicweb.Imaging.PdfPaperSize.A4;
                settings.FitToPaperWidth = true;
                settings.PaperOrientation = Dynamicweb.Imaging.PdfPaperOrientation.Portrait;
                settings.Dpi = 300;
                settings.RenderDelay = 50; //ms

.......

Rgds

Kevin

Votes for this answer: 1
 
Filip Hein
Reply

Thanks for the input Kevin! We are hoping for a more DW integrated way of doing it though, such as a URL parameter or just setting a DW property. But perhaps that is not possible currently.

Best regards

Filip

 

You must be logged in to post in the forum