Line Numbers with Interop

O

Oliver Specht

Hi,
I need to parse the text of a word file searching for certain patterns and
present the results including line numbers.

I really do not have an idea how to do that. I found the Lines interface in
the Interop.Word namespace but there is no information about how to work with
it.

Right now I am iterating by the Range over all words of the document which
works really good...but without line numbers...

Can anyone help me out?

Thanks,
Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top