Click or drag to resize
Pdf Library for .NET

HtmlToPdfOptionsMaxConversionTime Property

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

Namespace: SelectPdf
Assembly: Select.Pdf (in Select.Pdf.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 print phases, so this property has no effect when the Blink engine is selected.

See Also