2009-02-13 [.NET C# - Acrobat PDF] 合併 PDF 11636 0 .Net C# 2009-04-16 摘要:[.NET C# - Acrobat PDF] 合併 PDF using Acrobat; public class PDFHelper { /// <summary> /// 初始化 PDSAVEFULL (Set PDSAVEFULL) /// </summary> private const short PDSAVEFULL = 1; /// <summary> /// 合併PDF檔 (Merge PDF) /// </summary> /// <param name="strLast">前一版文件檔名與路徑 (The path of Last Ver)</param> /// <param name="strThis">本版文件檔名與路徑 (The path of This Ver)</param> public static void MergePDF(string strLast, string strThis) { AcroPDDoc objLast = new AcroPDDoc(); AcroPDDoc objThis = new AcroPDDoc(); objLast.Open(strLast); objThis.Open(strThis); objLast.InsertPages(-1, objThis, 0, 1, 0); objThis.Close(); objLast.Save(PDSAVEFULL, strThis); objLast.Close(); } } ASP.NETC#PDF 回首頁