typedef enum _L_HTMLENGINE
Enumeration values that indicate which HTML engine to use when rendering HTML files.
Use the default engine for the platform
Use Internet Explorer
Use the WebKit rendering engine (requires additional download)
LEADTOOLS currently supports the following HTML rendering engines:
This engine uses the default Internet Explorer rendering engine that comes with the Windows operating system.
This engine is only supported by the Windows platform.
The library needed by LEADTOOLS is
wkhtmltox.dll for Windows and
wkhtmltox.so for Linux. Extracting this file from the setup above and then placing it next to the other LEADTOOLS libraries is sufficient.
Note that the WebKit rendering engine is not included in your LEADTOOLS setup and has to be obtained separately by the user.
In addition to the above, LtWebKitEngine?.dll/so from your LEADTOOLS setup must be included in the application (next to lfhtm?.dll/so).
The WebKit rendering engine is supported by the Windows, Linux and macOS platforms.
The following behavior occurs when L_HTMLENGINE_AUTO (the default value) is used:
Windows: LEADTOOLS will search for ltWebKitEngine and wkhtmltox.dll. If found, then L_HTMLENGINE_WEBKIT is used. Otherwise, L_HTMLENGINE_IE is used.
Linux/macOS: LEADTOOLS will always search for ltWebKitEngine and wkhtmltox.so. If not found, loading of HTML is not supported.
The structure is used by:
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries