How do you get the current page that i am reading??? in C#

E

EricA

I am working on these. a code that will get the comments in a word
document using c#.


Word.Document oWordDoc = oWordApp.Documents.Open(ref fileName,

ref missing,ref readOnly, ref missing,

ref missing, ref missing, ref missing,

ref missing, ref missing, ref missing,

ref missing, ref missing, ref missing,

ref missing, ref missing, ref missing);


for (int i = 1; i <= oWordDoc.Comments.Count; i++) {
oWordDoc.Comments.Range.Text.ToString(); //displays the comment
itself oWordDoc.Comments.Author; //displays the author
oWordDoc.Comments.Index; //displays the index N
oWordDoc.Comments.Initial; //displays the initial }



----------- How do i get the current page where the current comment
my program is reading resides???
 

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