THtmlViewer component
procedure LoadFromString(const S: ThtString; const Reference: ThtString = ''; DocType: THtmlFileType = HtmlType);
The LoadFromString method loads a document of the given type from a string.
Reference is an optional reference parameter.