trichview.support
Re: insert and save graphic gif or jpg of internet path |
Author |
Message |
Sergey Tkachenko |
Posted: 03/04/2003 23:58:16 Insert it as RichViewEdit1.InsertPicture('http://www.xxx.com//images/top_text1.gif', Graphic, rvvaBaseLine) Then, process OnHTMLSaveImage: procedure TForm3.RichViewEdit1HTMLSaveImage(Sender: TCustomRichView; RVData: TCustomRVData; ItemNo: Integer; const Path: String; BackgroundColor: TColor; var Location: String; var DoDefault: Boolean); begin if (ItemNo>=0) and ( (RVData.GetItemStyle(ItemNo)=rvsPicture) or (RVData.GetItemStyle(ItemNo)=rvsHotPicture)) then begin Location := RVData.GetItemText(ItemNo); if Pos('http://', LowerCase(Location))=1 then DoDefault := False; end; end; > i'm looking same components and trichview like me, but i want to know if is > possible insert graphic on direct path internet ej. > http://www.xxx.com//images/top_text1.gif and later if save document in html > format the path of graphic have this format: > > <img src="http://www.xxx.com/images/top_text1.gif" > > thank for all > > |
Powered by ABC Amber Outlook Express Converter