Note: Please find the template Word document in “Data” folder of above sample application.
In the above sample, we have done the following things: 1. Loads the template Word document. 2. Appends picture to the new textbody part. 3. Finds the text where to place an image in Word document. 4. Resizes the width and height of the picture based on size of textbox. 5. Replaces a place holder text with the text body part (picture). 6. Saves the Word document.
Please let us know if you have any other questions. Regards, Mohanaselvam J