我正在关注此页面上有关“如何使用文件路径连接 pdf 数组”的指南但没有运气。示例:使用代码
using Aspose.Pdf.Facades;
string[] filesArray = new string[2];
filesArray[0] = @"D:\MergedPDF\Ball_007811263X\baL1263x_ch01_001-029.pdf";
filesArray[1] = @"D:\MergedPDF\Ball_007811263X\baL1263x_ch02_030-061.pdf";
// create PdfFileEditor object
PdfFileEditor pdfEditor = new PdfFileEditor();
// display the resultant concatenated PDF file in
pdfEditor.Concatenate(filesArray, "outputfoe.pdf");
但它在pdfEditor .Concatenate(filesArray, "outputfoe.pdf");的 pdfEditor 部分给我一个错误。
The error says:
Error 1 The type 'System.Web.HttpResponse' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Users\rsubedi\Documents\Visual Studio 2012\Projects\MergePDFManual\MergePDFManual\Program.cs 26 13 MergePDFManual