Conversion of Memory Streams to PDF

Hi ,
I want to Convert Memory stream in to PDF and EPUB Format.
Could you please let me know the procedure.
Thanks and Regards,
Raj.

This message was posted using Aspose.Live 2 Forum

Hi

Thanks for your request. Please try using the following snippet of code:

MemoryStream myStream = new MemoryStream();
doc.Save(myStream, SaveFormat.Pdf);
doc.Save(myStream, SaveFormat.Epub);

Also please see the following page for more information:
https://docs.aspose.com/words/net/loading-saving-and-converting/
Please let me know in case of any issues, I will be glad to help you.
Best regards,