Render Delay & Timeout

IronPDF's default rendering timeout is 60 seconds. If the rendering process does not complete in this duration, a timeout runtime exception will be thrown.

For inputs with heavy image assets or those requiring additional time to render, it is recommended to adjust the RenderDelay duration. This allows the assets to fully render virtually before the PDF is generated. Failure to do so may result in missing assets in the PDF document or even a blank PDF.

To override the default setting, adjust the Timeout duration in ChromePdfRenderingOptions class and specify the delay duration in RenderDelay() method via WaitFor wrapper object.

EXAMPLE

ChromePdfRenderOptions renderOptions = new ChromePdfRenderOptions();

// Increase timeout of the render
renderOptions.Timeout = 120; // seconds 

// Increase the delay before rendering
renderOptions.WaitFor.RenderDelay(3000); //milliseconds
ChromePdfRenderOptions renderOptions = new ChromePdfRenderOptions();

// Increase timeout of the render
renderOptions.Timeout = 120; // seconds 

// Increase the delay before rendering
renderOptions.WaitFor.RenderDelay(3000); //milliseconds
Dim renderOptions As New ChromePdfRenderOptions()

' Increase timeout of the render
renderOptions.Timeout = 120 ' seconds

' Increase the delay before rendering
renderOptions.WaitFor.RenderDelay(3000) 'milliseconds
VB   C#

Check out the below articles for more information about Timeout and RenderDelay.

Timeout

RenderDelay

To make a service request to our engineers, please see: Engineering Request IronPDF.

Please note
Starting from version 2021.12.4995, IronPDF's default rendering timeout is 60 seconds.