Click or drag to resize

HtmlToImageElementMaxConversionTime Property

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

Namespace: ExpertPdf.HtmlToPdf.PdfDocument
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 image once the page has loaded, and the conversion fails with a timeout error when it is exceeded.

With the WebKit and Blink engines the rendering of the element 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 when the element is added.

Set it to 0 to remove the limit. The IE engine does not use it.

See Also