Global |
| Exception | Condition |
|---|---|
| NotSupportedException | InProcess was assigned but the in-process engine host is not installed beside the engine, or is built for another architecture than the process. |
The default is InProcess where the in-process engine host (ExpertPdf.Cef.Host.dll, .so or .dylib) is installed beside the engine and built for the architecture of the application's process, and OutOfProcess otherwise, so a deployment without the host library, or a 32-bit process with the 64-bit engine package, keeps converting. The default is decided at the first conversion. The environment variable EXPERTPDF_CHROMIUM_ENGINE_HOST (outofprocess or inprocess) overrides the default without a code change; an explicit assignment overrides both.
The setting applies to the whole application: the engine is initialised once per process, so the value in force at the first conversion is the one used for the life of the process. One conversion can still be sent to a separate engine process with the ForceOutOfProcess property of the converters and the HTML elements.