Concatenate returns false



I am having issues concatenating several MemoryStreams together, Concatenate always returns false. My code is:

System.IO.MemoryStream [] Certs = utils.GetPDFRowsForBatchPrint(svrRowids);
// This function returns 'n' memory streams set to binary PDFs that were created with Aspose.PDF

Aspose.Pdf.Kit.PdfFileEditor BatchSet = new Aspose.Pdf.Kit.PdfFileEditor();
System.IO.MemoryStream BatchFile = new System.IO.MemoryStream();
if(!BatchSet.Concatenate(Certs, BatchFile)) throw new Exception ("Concatenation Failed");




Thanks for considering Aspose.

Please try to reposition the MemoryStream at the beginning, if the bug remains, can you print the Exception message ?