日期:2014-05-18 浏览次数:20765 次
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Print2Flash3; namespace iTest.wordtoflash { public partial class _default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { IServer server = new Server();//声明并初始化转换服务器类 server.SetP2FPrinterAsDefault();//设置问默认的虚拟打印机 server.ConvertFile(@"test.doc", @"test.swf");// } } }