Open without save

Can I open a pdf without save it?
For example :
I created a pdf like this :


Pdf pdf1 = new Pdf();

Section sec1 = pdf1.Sections.Add();

sec1.Paragraphs.Add(new Text("Hello World"));

pdf1.Save("HelloWorld.pdf"); <----- I don´t wanna to save, only show. If user want to save, he saves. How can I do it?

Hi,

Thank you for considering Aspose.

You can achieve this by using the stream, but please make sure that you are writing this code in a Web page. Please use the following method to show Pdf to the client Browser without saving on physical disk.

http://www.aspose.com/Products/Aspose.Pdf/Api/index.html?url=http://www.aspose.com/Products/Aspose.Pdf/Api/Aspose.Pdf.Pdf.Save_overload_2.html

If you need more help, please do let us know.

Thanks.