- 博客(4)
- 收藏
- 关注
转载 C#关于Word相关操作
一、启动和关闭退出 Microsoft.Office.Interop.Word.Application thisApplication = null; object MissingValue = Type.Missing; try {
2011-11-09 12:51:10
557
转载 C#操作Word
namespace ImportExportToOffice{ using System; using System.ComponentModel; using System.Data; using System.Windows.Forms; public class ImportExportToWord { pri
2011-11-09 12:48:12
293
转载 C#操作word的一些基本方法(word打印,插入文件,插入图片,定位页眉页脚,去掉横线)
1、Microsoft.Office.Interop.Word.Application wordApp =new ApplicationClass()word对象2、 Microsoft.Office.Interop.Word.Document wordDoc = wordApp.Documents.Add(ref Nothing,ref Nothing, ref Nothin
2011-11-09 12:42:55
1065
转载 C#操作word
public class WordAPI{ private object _template; private object _newWord; private Microsoft.Office.Interop.Word.Application wordApp; private Microsoft.Office.Interop.Word.Docume
2011-11-09 12:41:21
455
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人