WFP: 读取XPS文件或将word、txt文件转化为XPS文件

读取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编辑  收藏  举报