Page 1 of 1

how to replace text with an image

PostPosted: Mon Nov 04, 2013 7:35 pm
by teja1524
hi
this is teja.
iam taking document see below url
[url]
http://s976.photobucket.com/user/rrr152 ... 0.jpg.html
[/url]
in this document i want to replace a text of "@1@" with an image.
is this poosible? if possible please send the code or any references


with regards teja

Re: how to replace text with an image

PostPosted: Mon Nov 04, 2013 8:01 pm
by jason
To insert an image, I suggest you use a picture content control, bound via XPath to an xml element containing the image base64 encoded.

If you don't want to use content control databinding, and want to stick with a VariableReplace approach, you'll need to extend it yourself. Various people have done this; there may be some code floating around somewere.

Re: how to replace text with an image

PostPosted: Mon Nov 04, 2013 8:32 pm
by teja1524
hi
thanx for posting reply..
please send some example code about replacing image inplace of string