Displaying page number by scrolling

Status
Not open for further replies.

_Sahar

Honorable
Aug 2, 2012
4
0
10,520
Hi
I use Ultra Office Control to view word document.
I want to show the page numbers that change by scrolling.
Please Help me to write in c sharp
 
Solution
I've solved it :
Word.Document wddoc = (Word.Document)axFramerControl1.ActiveDocument;
Word.Application wordApp = wddoc.Application;
int numberScroll = wddoc.ActiveWindow.VerticalPercentScrolled;
txtPage.Text = pageColumn + numberScroll + "";

_Sahar

Honorable
Aug 2, 2012
4
0
10,520
I've solved it :
Word.Document wddoc = (Word.Document)axFramerControl1.ActiveDocument;
Word.Application wordApp = wddoc.Application;
int numberScroll = wddoc.ActiveWindow.VerticalPercentScrolled;
txtPage.Text = pageColumn + numberScroll + "";
 
Solution
Status
Not open for further replies.