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.

Find and replace problem of table contents in Essential DocIO 4.4.0.51

Thread ID:

Created:

Updated:

Platform:

Replies:

77495 Nov 4,2008 01:51 AM Nov 5,2008 05:57 AM Windows Forms 3
loading
Tags: DocIO
Rambabu Pusala
Asked On November 4, 2008 01:51 AM

Hi All,

I am using Essential DocIO 4.4.0.51 for existing word document editing. The existing document contains one table need to find the string and replace with some other string.
Please guide the code lines for this.

Thanks in advance,
Rambabu


Administrator [Syncfusion]
Replied On November 4, 2008 10:22 AM

Hi RamBabu,

In 4.4 version, you can find and replace text as follows:
docSource1.Replace("Text To be replaced","New Text",true,true);

This will replace the text found anywhere in the document.

You can also find and replace using Bookmark names.

Bookmark replacement and Find and replace samples can be found at following location:

C:\Program Files\Syncfusion\Essential Studio\4.4.0.51\Windows\DocIO.Windows\Samples\

Also, we improved DocIO find and replace technique in our latest version allowing more flexibility. Can you please consider upgrading?

Please take a look into it and let me know if you have any questions.



Rambabu Pusala
Replied On November 4, 2008 11:47 PM

Hi Dhivya,

Thanks for the replay, Present I am using the Replace function. But in the document we have two sentences with same formate and same words like "Fax Number :". So, I need to find first one in the table and replace with "Fax Number : 123-456-7891".
My intension is go to particular cell and try to replace the sting. So please help for this.

Thanks,
Rambabu.


Geetha M [Syncfusion]
Replied On November 5, 2008 05:57 AM

Hi Rambabu,

With ES version 4.4.0.51, you can make use of Bookmark to replace one of the texts. Please go through the sample in the below location:

C:\Program Files\Syncfusion\Essential Studio\4.4.0.51\Windows\DocIO.Windows\Samples\2.0\Interactive Feature\Bookmark_Navigation\

Kindly let me know if you have any other questions.

Regards,
Geetha


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.

;