typedef struct _FILEHTMLLOADOPTIONS
{
L_UINT uStructSize;
L_CHAR szDomainWhitelist[FILEHTMLLOADOPTIONS_DOMAINWHITELISTSIZE];
L_BOOL bEnableJS;
L_HTMLENGINE HtmlEngine;
} FILEHTMLLOADOPTIONS, *pFILEHTMLLOADOPTIONS;
The FILEHTMLLOADOPTIONS structure provides information for loading HTML files.
Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.
List of domains to allow when parsing links in the input HTML file. Any external links that are encountered will be ignored if the domains are not included in szDomainWhitelist
.
Flag indicating whether to enable or disable running JavaScript resources embedded in the HTML files during the rendering process. Possible values are:
Value | Meaning |
---|---|
TRUE | Enable JavaScript effects. |
FALSE | Disable JavaScript effects. |
The HTML engine to use when rendering HTML files.
Some functions which take this structure as a parameter require that the structure be initialized prior to the function call. You must set the uStructSize
member to the total size, in bytes, of the structure. Use the sizeof() operator to calculate this value. Functions that do not require the structure to be initialized will take the total size of the structure, in bytes, as an additional function parameter.
The FILEHTMLLOADOPTIONS structure is used by the following functions:
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document