12 2014 档案

如何查找全文居中的段落?
摘要:1 object oMissing = System.Type.Missing; 2 object objStyleName = "正文"; 3 MSWord.Style style = _doc.Application.ActiveDocument.Styles.get_Item(ref obj... 阅读全文

posted @ 2014-12-22 10:09 whl-hl 阅读(224) 评论(0) 推荐(0)

清除空行-选区处理
摘要:1、清除空行-选区处理 1 #region add by whl 20141219 2 MSWord.Paragraphs myParagraphs = oRange.Paragraphs; 3 int i = 0; 4 foreach (MSWord.Paragraph myParagraph i... 阅读全文

posted @ 2014-12-19 11:22 whl-hl 阅读(196) 评论(0) 推荐(0)

设置文档的显示模式
摘要:1 #region 判断是否处于 修订模式? 若是,则显示最终状态 add by whl 201412182 if (_doc.Application.ActiveDocument.TrackRevisions == true)3 {4 ... 阅读全文

posted @ 2014-12-18 10:06 whl-hl 阅读(244) 评论(0) 推荐(0)

解析XML文档
摘要:C#操作XML文档1、XmlDocument 类(http://msdn.microsoft.com/zh-cn/library/system.xml.xmldocument(v=vs.110).aspx)Load(Stream) 从指定的流加载 XML 文档。Load(String) 从指定的 U... 阅读全文

posted @ 2014-12-12 17:33 whl-hl 阅读(152) 评论(0) 推荐(0)

如何初始化DataGridView控件
该文被密码保护。

posted @ 2014-12-08 10:31 whl-hl

Hashtable()的应用
该文被密码保护。

posted @ 2014-12-06 11:17 whl-hl

获取当前路径的方法【C#】
摘要:1. System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName -获取模块的完整路径。 2. System.Environment.CurrentDirectory -获取和设置当前目录(该进程从中启动的目录)的完全限定目... 阅读全文

posted @ 2014-12-05 17:25 whl-hl

千分位:下一处 & 处理 & 全文处理
该文被密码保护。

posted @ 2014-12-04 15:27 whl-hl

导航