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.
Unfortunately, activation email could not send to your email. Please try again.

Replaing placeholder with an image or a table

Thread ID:

Created:

Updated:

Platform:

Replies:

101802 Nov 22,2011 08:51 AM Nov 23,2011 01:23 AM Windows Forms 1
loading
Tags: DocIO
Christian Rattat
Asked On November 22, 2011 08:51 AM

Hi,

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?

Regards,
Christian


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

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:
http://help.syncfusion.com/ug_94/Reporting/DocIO/Windows%20Forms/default.htm?turl=Documents%2F455replace.htm

You can also refer the online sample available in the below link:
http://asp.syncfusion.com/sfaspnetsamplebrowser/9.3.0.61/Web/DocIO.Web/Samples/4.0/Editing/ReplaceWithFormatting/CS/ReplaceWithFormatting.aspx

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:
http://www.syncfusion.com/downloads/Support/DirectTrac/85690/FindAndReplaceSample500999914.zip

Please let us know if you have any questions.

Regards,
Lakshmi Devi S


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.

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.

;