ChromiumEngineHostMode Enumeration |
Selects how the Chromium rendering engine is hosted while converting HTML.
Namespace: ExpertPdf.AnywhereAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
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.
ExampleExpertPdf.Anywhere.GlobalSettings.ChromiumEngineHostMode =
ExpertPdf.Anywhere.ChromiumEngineHostMode.OutOfProcess;ExpertPdf.Anywhere.GlobalSettings.ChromiumEngineHostMode =
ExpertPdf.Anywhere.ChromiumEngineHostMode.OutOfProcess
See Also