Fixing Render Timeout Issues in IronPDF

This article was translated from English: Does it need improvement?
Translated
View the article in English

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 the ChromePdfRenderOptions class and specify the delay duration in the RenderDelay method via the WaitFor wrapper object.

Example

// Create a new instance of ChromePdfRenderOptions
ChromePdfRenderOptions renderOptions = new ChromePdfRenderOptions();

// Increase the timeout for the rendering process to 120 seconds
renderOptions.Timeout = 120; // seconds

// Increase the delay before rendering to ensure all assets are fully loaded
renderOptions.WaitFor.RenderDelay(3000); // milliseconds (3 seconds)
// Create a new instance of ChromePdfRenderOptions
ChromePdfRenderOptions renderOptions = new ChromePdfRenderOptions();

// Increase the timeout for the rendering process to 120 seconds
renderOptions.Timeout = 120; // seconds

// Increase the delay before rendering to ensure all assets are fully loaded
renderOptions.WaitFor.RenderDelay(3000); // milliseconds (3 seconds)
' Create a new instance of ChromePdfRenderOptions
Dim renderOptions As New ChromePdfRenderOptions()

' Increase the timeout for the rendering process to 120 seconds
renderOptions.Timeout = 120 ' seconds

' Increase the delay before rendering to ensure all assets are fully loaded
renderOptions.WaitFor.RenderDelay(3000) ' milliseconds (3 seconds)
$vbLabelText   $csharpLabel

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.

Por favor notaStarting from version 2021.12.4995, IronPDF's default rendering timeout is 60 seconds.

Curtis Chau
Escritor Técnico

Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien ...

Leer más
¿Listo para empezar?
Nuget Descargas 16,154,058 | Versión: 2025.11 recién lanzado