THTMLDoc.CreateComponent Method |
Inserts an HTML. Used to insert regular HTML elements or WebComponents with custom elements. procedure CreateComponent(const Id: WideString; const Html: WideString; ReplaceWnd: Int64); safecall;
When ReplaceWnd is <> 0 and points to a valid window handle, the positioning of the main element will follow the Wnd positioning, simulating an embedding. |