通过滚动显示页码 [英] Displaying page number by scrolling

查看:183
本文介绍了通过滚动显示页码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我使用Ultra Office Control查看word文档。

我想显示通过滚动更改的页码。

请帮帮我用c sharp写。

解决方案

我已经解决了:

 Word.Document wddoc =( Word.Document)axFramerControl1.ActiveDocument; 
Word.Application wordApp = wddoc.Application;
int numberScroll = wddoc.ActiveWindow.VerticalPercentScrolled;
txtPage.Text = pageColumn + numberScroll + ;


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.

解决方案

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


这篇关于通过滚动显示页码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆