I have a couple of pdf created using Aspose.Words and concatenated using Aspose.PDF and save to Sharepoint Document Library. But whne I try to open the pdf it is not opening in browser.If I save to disk and open it it is fine.
doc.Save(memoryStreamout1, Aspose.Words.SaveFormat.Pdf);
doc.Save(memoryStreamout2, Aspose.Words.SaveFormat.Pdf);
Stream[] pdfStreams = new Stream[2];
pdfStreams[0] = new MemoryStream(memoryStreamout1.ToArray());
pdfStreams[0] = new MemoryStream(memoryStreamout2.ToArray());
pdfEditor.Concatenate(pdfStreams, finalpdfStream);
I am saveing finalpdfstream into sharepoint library. Creation and concatenation and saving no issues.
But not opening in Browser
Any thoughts?
Thanks,
Siva Gaddipati