We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Word java insert image at bookmark

Hello,
I am evaluating your Total Java. I was able to use SetText for the bookmark but how do I insert image
at the bookmark. What method do I need to use. In VBA word automation I use inLineShapes.AddPicture method. I could not find the method of inLineShapes. Please help.

This message was posted using Page2Forum from http://community.aspose.com/community/login.aspx?ReturnUrl=/community/public/page2forum.aspx?SectionID=75&Referer=documentation

Sorry. Found the answer in the API.
Using DocumentBuilder I was able to insert the image

Hi,

Thanks for your inquiry. Sure, you can move the cursor to Bookmark using DocumentBuilder class and then insert images in there. Please read the following articles:

https://docs.aspose.com/words/java/navigation-with-cursor/
https://docs.aspose.com/words/java/document-builder-overview/
https://reference.aspose.com/words/java/com.aspose.words/DocumentBuilder

Please let me know if I can be of any further assistance.

Best regards,