 |
ChromiumEngineHostMode Enumeration |
Selects how the Chromium engine is hosted while converting HTML.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic enum ChromiumEngineHostMode
Public Enumeration ChromiumEngineHostMode
Members| Member name | Value | Description |
|---|
| OutOfProcess | 0 |
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.
|
| InProcess | 1 |
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.
ExampleSelectPdf.Universal.GlobalProperties.ChromiumEngineHostMode =
SelectPdf.Universal.ChromiumEngineHostMode.OutOfProcess;SelectPdf.Universal.GlobalProperties.ChromiumEngineHostMode =
SelectPdf.Universal.ChromiumEngineHostMode.OutOfProcess
See Also