Free Support Forum -

Don't save pdf to disk

Hi, I am evaluating aspose.pdf and have a question. I am developing a windows application that generates a pdf file. Is there a way to create the pdf file but not save it to disk. I only want to display it to the user and let them choose if they want to save it to disk. Is this possible with Aspose.pdf? Thanks.

Dear gibsoju,

Thank you for considering Aspose.

You can use the Pdf.Save(Stream) method to save the generated document to a memorystream.