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
 
Top