Hello I am creating multiple PDFs using Kit inside one method. I know to use PdfFileEditor to concatenate. The problem is that my files are in PDF data type, not MemoryStream.<br><br>1. How do I convert PDF type to MemoryStream type <br>OR<br>2. What method do I use to concatenate two PDF files in PDF data type?<br>
Please use the Save method of Aspose.Pdf.Pdf and pass the memory stream as argument. Then reset the pointer to 0 and use the memory stream to concatenate.
Thank you. But how do I first convert PDF type to MemoryStream type so that I can then pass it to concatonate? It was never a MemoryStream to begin with since I used BindXML and data from a table to create it.
Simply call the Save method of the Pdf class and pass it a MemoryStream object as parameter.