摘要: 读取XPS格式文件或将doc,txt文件转化为XPS文件,效果图如下:1.XAML页面代码: 2.后台CS文件代码:首先引用Microsoft.Office.Interop.Word.dll;//具体代码如下↓using System;using System.IO;using System.Linq;using System.Windows;using System.Windows.Controls;using System.Windows.Xps.Packaging;using System.Xml;using Microsoft.... 阅读全文
posted @ 2013-09-16 19:10 _YMW 阅读(7015) 评论(2) 推荐(0) 编辑