Einzelnen Beitrag anzeigen

mr_fahrrad

Registriert seit: 28. Dez 2006
46 Beiträge
 
#1

Load Image From TBitmap (or Stream)

  Alt 29. Dez 2006, 18:41
how I make to load image from Stream (or Bitmap) ?

with the code:

Delphi-Quellcode:
var
  li: Word;
begin
  // Loop through all images of a TWebbrowser
  // Schleife über alle Bilder im Webbrowser
  for li := 0 to WebBrowser1.OleObject.Document.Images.Length - 1 do
    WebBrowser1.OleObject.Document.Images.Item(li).Src :='c:\file.bmp';
end;
I change all images in TWebBrowser, but from a file in my hard Disk (or URL)

How i make to change the src from image loading the picture fom a Bitmap or a Stream?

Thanks for the help and sorry for the post in english... You can answer me in Deutsch if you want
  Mit Zitat antworten Zitat