We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Replace placeholder string with image

Thread ID:

Created:

Updated:

Platform:

Replies:

140941 Nov 15,2018 08:56 AM UTC Nov 16,2018 08:46 AM UTC ASP.NET Web Forms 1
loading
Tags: DocIO
Pio Luca Valvona
Asked On November 15, 2018 08:56 AM UTC

I have a template in Word where I need to insert an image instead of a string placeholder. 
Is it possible to do this?

Thanks

Dilli Babu Nandha Gopal [Syncfusion]
Replied On November 16, 2018 08:46 AM UTC

Hi Pio, 
 
Thank you for contacting Syncfusion support.   
 
We have prepared a sample as your requirement which can be downloaded from the following link.   
 
The following thing has been done in the sample.   
1.   Created a template document Input.docx with replace text” Replace” which is placeholder using Microsoft Word application.   
2.   Opened the template document and created TextBodyPart instance with WPicture item(by loading an image from folder location) using Essential DocIO.   
3.   Replace the text” Replace” with WPicture instance.  
4.   Saved the document.   
 
To know more about these manipulations, kindly refer the following link.   
 
Regards, 
Dilli babu. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon