当前位置:编程学习 > C#/ASP.NET >>

怎么使用C#读取word文档的页脚?

请教各位高手,怎么使用C#读取word文档的页脚? --------------------编程问答-------------------- 用的是javascript脚本加上有关office 的操作,相信你就可以完成了 --------------------编程问答-------------------- http://topic.csdn.net/t/20050223/09/3799536.html
--------------------编程问答-------------------- WordApp.ActiveWindow.ActivePane.View.SeekView = Word.WdSeekView.wdSeekCurrentPageHeader;
WordApp.Selection.WholeStory();
WordApp.Selection.Font.Name ="华文新魏";   
WordApp.Selection.Font.Size =10.5f;   
WordApp.Selection.Font.UnderlineColor = Word.WdColor.wdColorAutomatic;   
WordApp.Selection.Font.Underline = Word.WdUnderline.wdUnderlineSingle
WordApp.Selection.TypeText( "");
WordApp.ActiveWindow.ActivePane.View.SeekView = Word.WdSeekView.wdSeekMainDocument;
http://support.microsoft.com/kb/269565/zh-cn --------------------编程问答--------------------
引用 3 楼 wuyq11 的回复:
WordApp.ActiveWindow.ActivePane.View.SeekView = Word.WdSeekView.wdSeekCurrentPageHeader;
WordApp.Selection.WholeStory();
WordApp.Selection.Font.Name ="华文新魏";  
WordApp.Selection.Font.Size =10.5f;  ……


这应该是设置吧?
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,