本文整理自网络,侵删。
const
cHtmlString = '<img src=%s width=100% height=100%>';
var
UrlOfImage: string;
begin
UrlOfImage := 'http://www.delphitop.com/skins/2009/images/logo.gif';
WebBrowser1.LoadFromStrings(Format(cHtmlString, [UrlOfImage]), '');
end;
相关阅读 >>
更多相关阅读请进入《Delphi》频道 >>