I want to merge many a PDF file to a PDF file,I have a program(user c#) which uses Aspose to concatenate pdf files:
PdfFileEditor pdfEditor = new PdfFileEditor();
FileStream outputStream = new FileStream("output.pdf", FileMode.Create);
FileStream[] inputStreams = new FileStream[2];
inputStreams[0] = new FileStream("input1.pdf", FileMode.Open);
inputStreams[1] = new FileStream("input2.pdf", FileMode.Open);
pdfEditor.Concatenate(inputStreams, outputStream);
but when running display an error: type "System. Web. HttpResponse" defined without the referenced assemblies. Must be added to the assembly "System. Web, Version = 2.0.0.0 , Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a" reference
If I use the following code, run successfully, but concatenate speed is slow
PdfFileEditor pfe = new PdfFileEditor();
Boolean code = pfe.Concatenate("C:\\1.pdf","C:\\2.pdf","C:\\MergedPDF.pdf");