Click or drag to resize
Pdf Library for .NET

HtmlToImageMaxConversionTime Property

Timeout in seconds for the capture phase (producing the image after the page has loaded). Applies to the Chromium rendering engine only.

Namespace: SelectPdf
Assembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntax
public int MaxConversionTime { get; set; }

Property Value

Int32
Remarks
Default value is 60 seconds.

For Chromium, the total worst-case conversion time is MaxPageLoadTime + MaxConversionTime + 30 seconds (a 30s grace window is added on top so the native engine can cleanly report its own timeout error before the managed side escalates to a process kill).

The Blink engine uses MaxPageLoadTime for both navigation and capture phases, so this property has no effect when the Blink engine is selected.

See Also