trichview.com

trichview.support




Re: InsertPicture() and Gifs


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/24/2005 11:59:55


1) Include RVGifAnimate unit in your project

2) Change RichViewEdit1.AnimationMode = rvaniOnFormat (at designtime)


(see more details in readme.txt, about v1.9.5)



> Im trying to insert animated gifs but when inserted there is no animation.

> i have set AnimationMode to rvaniOnFormat

> here is my code. What am i doing wrong?

>

> procedure TForm1.Button2Click(Sender: TObject);

> var

>   Gif: TGifImage;

> begin

>   Gif := TGIFImage.Create;

>   Gif.Assign(Image1.Picture.Graphic);

>   RichViewEdit1.InsertPicture('', Gif, rvvaBaseline);

>   RichViewEdit1.Format;

> end;

>

>





Powered by ABC Amber Outlook Express Converter