Click or drag to resize
Pdf Library for .NET

ChromiumEngineHostMode Enumeration

Selects how the Chromium engine is hosted while converting HTML.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public enum ChromiumEngineHostMode
Members
Member nameValueDescription
OutOfProcess0 Each conversion runs in its own short-lived engine process, outside the application. This is the default where the in-process engine host is not installed.
InProcess1 The engine is loaded into the calling application and kept ready between conversions. This is the default where the in-process engine host is installed beside the engine.
Remarks
Set through ChromiumEngineHostMode. The setting applies to the whole application, because the engine is initialised once per process.
Example
SelectPdf.Universal.GlobalProperties.ChromiumEngineHostMode =
    SelectPdf.Universal.ChromiumEngineHostMode.OutOfProcess;
See Also