To whom it may concern,
I am try to merge file A.pdf with the file B.pdf or C.pdf, however when I merge the files, the content of the file A.pdf become the following message:
Please wait...
If this message is not eventually replaced by the proper contents of the document, your PDF
viewer may not be able to display this type of document.
You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by
visiting http://www.adobe.com/products/acrobat/readstep2.html.
For more assistance with Adobe Reader visit http://www.adobe.com/support/products/
acrreader.html.
Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark
of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other
countries.Please wait...
If this message is not eventually replaced by the proper contents of the document, your PDF
viewer may not be able to display this type of document.
You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by
visiting http://www.adobe.com/products/acrobat/readstep2.html.
For more assistance with Adobe Reader visit http://www.adobe.com/support/products/
acrreader.html.
Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark
of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other
countries.
when I merge B.pdf and C.pdf, I get both files content
Here is my code:
AsposePDFLink.License license = new AsposePDFLink.License();
license.SetLicense("Aspose.Pdf.lic");
AsposePDFLink.Facades.PdfFileEditor pdfEditor = new AsposePDFLink.Facades.PdfFileEditor();
bool merged = pdfEditor.Concatenate(InputFiles, OutputFile);
if (!merged)
{
var _corrupted = pdfEditor.CorruptedItems;
string _LogError = pdfEditor.ConversionLog;
StringBuilder sbMessage = new StringBuilder();
sbMessage.Append("Unable to Merge PDFs:");
foreach (var item in InputFiles) { sbMessage.AppendFormat("{0}\\n", item); } sbMessage.AppendFormat("Output files:{0}", OutputFile);
throw new ApplicationException(sbMessage.ToString());
}
I have attached the individuals files and the merge outcome.
thank you