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

DocIO Find..Replace

Thread ID:





55905 Feb 6,2007 07:51 PM UTC Feb 12,2007 02:24 PM UTC WinForms 1
Tags: DocIO
Sarah Brenner
Asked On February 6, 2007 07:51 PM UTC

Hello. I'm having trouble figuring out the best use for the TextRangesHolder. Is this the only way to find text in word doucments? I have the following:

Dim rg As New Regex("\(\((.|\n)*?\)\)")
Dim rgholder() As Syncfusion.DLS.Collections.TextRangesHolder = doc.FindAll(rg)

Now, how can I loop trough each one & get the actual text of everything it found? Loop through the collection & set a TextRangesHolder? Then how do I get the text from there? Do I have to create a paragraph object?:

Dim pg As New Paragraph(doc)
rgholder.CopyTo(pg, 0)

Thanks for your help!

Melba Winshia [Syncfusion]
Replied On February 12, 2007 02:24 PM UTC

Hi Sarah,

Thanks for your interest in Essential DocIO.

Currently, it is not possible to get the actual text of everything it [TextRangesHolder] found. It is possible only to find the count. I will consult with the development team regarding this feature and will update you the status of this feature with in a week. Sorry for the inconvenience.

Kindly let me know if you have any other questions.



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