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