Hi,
I have this issue with DocumentBuilder.insertHTML() api.
When i try to insert a HTML containing the image. it does not paint the Image instead gives a cross sign.
Here’s a image on this server -
https://plm.sungard.com/ImageRenderer?ImageID=3003121
If you hit this on the web url, you will get the image. However, when you try inserting this through Aspose.words, it wont give the image. I tried writing this code. It does not work.
File w_file = new File("C:/Documents and Settings/akhan/Desktop/Print.doc");
DocumentBuilder w_bldr = new DocumentBuilder();
Document w_doc = w_bldr.getDocument();
String w_txt = "<p><img src=\"https://plm.sungard.com/ImageRenderer?ImageID =3003121\" alt=\"\" width=\"178\" height=\"129\" /></p>";
w_bldr.insertHtml(w_txt);
w_doc.save("C:/Documents and Settings/akhan/Desktop/Print.doc");</font></i>
Please help me out with this. I am also attaching the word that I get
Regards,
Aslam