L_HTMLENGINE (original) (raw)
Summary
Enumeration values that indicate which HTML engine to use when rendering HTML files.
Syntax
typedef enum _L_HTMLENGINE
{
L_HTMLENGINE_AUTO,
L_HTMLENGINE_IE,
L_HTMLENGINE_WEBKIT,
} L_HTMLENGINE;
Members
L_HTMLENGINE_AUTO
Use the default engine for the platform
L_HTMLENGINE_IE
Use Internet Explorer
L_HTMLENGINE_WEBKIT
Use the WebKit rendering engine (requires additional download)
Comments
LEADTOOLS currently supports the following HTML rendering engines:
L_HTMLENGINE_IE (Internet Explorer)
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.
L_HTMLENGINE_WEBKIT WebKit, Requires additional download
This engine uses the WebKit rendering engine. For more information, refer to WebKit Rendering Engine Support.
The WebKit rendering engine is supported by the Windows, Linux and macOS platforms.
L_HTMLENGINE_AUTO
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.
Usage
See Also
LEADTOOLS Raster Imaging C API Help