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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Replaing placeholder with an image or a table

Thread ID:





101802 Nov 22,2011 01:51 PM UTC Nov 23,2011 06:23 AM UTC WinForms 1
Tags: DocIO
Christian Rattat
Asked On November 22, 2011 01:51 PM UTC


how can I replace a placeholder text by an image or table? Is there any sample demonstrating this?

And another question if I got a TextSelection using find methods how do I get information about the section and paragraph this selection is part of?


Lakshmi Devi S [Syncfusion]
Replied On November 23, 2011 06:23 AM UTC

Hi Christian,

Thank you for your interest in Syncfusion Products.

You can replace a placeholder text by an image or table using the TextBodyPart class. Kindly refer the below online documentation link for more information.

Documentation link:

You can also refer the online sample available in the below link:

Regarding your query about retrieving the section and paragraph of a TextSelection, you can make use of the WTextRange class to obtain the information.

We have created a sample to illustrate your requirement. Do find the sample in the below link and let us know if it was helpful.

Sample link:

Please let us know if you have any questions.

Lakshmi Devi S


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