|Manuals

IHTMLDoc::ImportHTML Method

Description

This method facilitates the importing of HTML content from a URL source. When a filename parameter is provided, the system generates a session URL first before importing the HTML file from that specified location.

Syntax

[id(0x000000C9)]
HRESULT _stdcall ImportHTML([in] BSTR Url, [in, optional] BSTR Filename);

Parameters

Parameter Type Description
Url BSTR The URL source from which to import HTML content
Filename BSTR Optional parameter; when specified, triggers creation of a session URL prior to importing the HTML file

Return Value

HRESULT - Standard COM return value indicating success or failure of the operation.