Click or drag to resize
Pdf Library for .NET

HtmlToPdfOptionsForceOutOfProcess Property

Runs this conversion in a separate engine process, whatever ChromiumEngineHostMode says.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public bool ForceOutOfProcess { get; set; }

Property Value

Boolean
Remarks
The default value is False: the conversion runs in the host that ChromiumEngineHostMode selects for the process.

Set it to True to isolate one conversion from the application - a page that is not trusted, or one likely to crash or hang the browser - while every other conversion keeps the in-process host, or to give it settings the in-process host fixes for the whole process at its first conversion (WebGlEnabled, the proxy, insecure content, local file access). It costs the time an engine process takes to start, a few hundred milliseconds on Windows.

A conversion with this property set does not decide the process-wide host mode, so it can run before or beside in-process conversions in any order.

Note: This is used only by the Chromium rendering engine.

See Also