C#操作word的方法示例

时间:2020-12-31 19:54:32
【文件属性】:
文件名称:C#操作word的方法示例
文件大小:51KB
文件格式:PDF
更新时间:2020-12-31 19:54:32
app doc OR 本文实例讲述了C#操作word的方法。分享给大家供大家参考,具体如下: #region 读取word /// /// 读取word所有文字内容(不包含表格) /// /// word中的字符内容(纯文本) public string ReadAllFromWord() { Word.ApplicationClass app = null; Word.Document doc = null; object missing = System.Reflection.Missing.Value; obje

网友评论