winfrom Microsoft.Office.Interop.Word.dll 打印

时间:2019-07-04 03:09:01
【文件属性】:

文件名称:winfrom Microsoft.Office.Interop.Word.dll 打印

文件大小:500KB

文件格式:RAR

更新时间:2019-07-04 03:09:01

Word,打印

//引用Microsoft.Office.Interop.Word.dll //打印WORD文档 Microsoft.Office.Interop.Word.Application wordApp = new Microsoft.Office.Interop.Word.Application(); object fileName = Application.StartupPath + "\\demo.doc"; object confirmConversions = Type.Missing; object readOnly = true; object addToRecentFiles = Type.Missing; object passwordDoc = Type.Missing; object passwordTemplate = Type.Missing; object revert = Type.Missing; object writepwdoc = Type.Missing; object writepwTemplate = Type.Missing; object format = Type.Missing; object encoding = Type.Missing; object visible = Type.Missing; object openRepair = Type.Missing; object docDirection = Type.Missing; object notEncoding = Type.Missing; object xmlTransform = Type.Missing; object missing = System.Reflection.Missing.Value; ............................. ............................. 压缩包里word打印的代码,支持连续打印,还有需要引用的dll文件,有版本11和12,亲测,我用的版本是11,word2003


【文件预览】:
11
----Microsoft.Office.Interop.Word.dll(647KB)
12
----Microsoft.Office.Interop.Excel.dll(1.22MB)
----Microsoft.Office.Interop.Word.dll(763KB)
readme.txt

网友评论

  • 可以用。不错。而且还免分。
  • 用是能用,我想问问源主大大,怎么做记录打印次数,类似:表第一次打印就在右下角标记录打印第一次,第二次打印打印第二次这样的,求大大指点。。。