赞
踩
本文主要是采用C#将word文件转为PDF。程序中添加引用using Microsoft.Office.Interop.Word; 具体源码如下所示:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using Microsoft.Office.Interop.Word;
namespace Test.Zjn.Utils
{
public class WordToPdfHelper : IDisposable
{
public static readonly log4net.ILog log =
log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
dynamic wps;
public
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。