Posted by a ceTe Software moderator
Hello,
We are able to recreate the error and we will look into it further. In the meantime you can use the following workaround to merge the PDF several times.
PdfDocument pdf = new PdfDocument("StartPageForIQ_rotated.pdf");
MergeOptions options = MergeOptions.All;
options.EmbeddedFiles = false;
MergeDocument document = new MergeDocument();
document.Append(pdf);
for (int i = 0; i < 4;i++ )
document.Append(pdf, options);
document.Draw("output.pdf");
It looks like the error is caused due to the file attachments embedded in the PDF and the above code will avoid importing those attachments for subsequent merges.
Thanks,
ceTe Software Support Team.