Sign in with
Sign up | Sign in
Your question
Closed

Displaying page number by scrolling

Last response: in Apps General Discussion
Share
August 11, 2012 4:04:05 AM

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

Best solution

December 5, 2013 12:07:42 AM

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 + "";
Share
!