Page 1 of 1

Replace text with an Image

Posted: Mon Jun 27, 2016 3:01 am
by DelphiDude
I have worked out the find text and replace, now i am looking to find text and replace with image.
Find <IMAGE_001> and replace it with a bitmap/jpeg image.

Posted: Mon Jun 27, 2016 4:17 pm
by Sergey Tkachenko
It's the same.
Instead of

Code: Select all

 if rve.SearchText(...) then
   rve.InsertText(...);
write

Code: Select all

 if rve.SearchText(...) then
   rve.InsertPicture(...);