We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

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?


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.


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