Click or drag to resize

PdfConverterMaxConversionTime Property

The maximum time in seconds the conversion may take after the page has loaded. Default value is 60.

Namespace: ExpertPdf.HtmlToPdf
Assembly: ephtmltopdf (in ephtmltopdf.dll) Version: 22.0.0
Syntax
public int MaxConversionTime { get; set; }

Property Value

Int32
Remarks

With the Chromium engine this is the time allowed for producing the PDF once the page has loaded, and the conversion fails with a print timeout error when it is exceeded. The longest a conversion can take is then NavigationTimeout + MaxConversionTime + 30 seconds (the last 30 seconds let the engine report its own timeout).

With the WebKit, WebKit2 and Blink engines one rendering of the page may take at most ConversionDelay + NavigationTimeout + MaxConversionTime seconds; after that the converter stops waiting (the WebKit engine process is ended) and a TimeoutException is thrown.

Set it to 0 to remove the limit. The IE engine does not use it. HTML header and footer areas have a MaxConversionTime property of their own.

See Also