We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Creating a pdf without saving into a pdf file

Thread ID:

Created:

Updated:

Platform:

Replies:

148216 Oct 10,2019 09:30 AM UTC Oct 12,2019 02:34 AM UTC WinForms 2
loading
Tags: PDF
San
Asked On October 10, 2019 09:30 AM UTC

Hi,

Is it possible to create a pdf and then not save it into a file on disk?  For example, I would like to create a pdf file and print it then dispose of it immediately after, meaning it's treated like a temporary file only.

regards,

Prakash Viswanathan [Syncfusion]
Replied On October 11, 2019 07:22 AM UTC

Hi San, 

Thank you for contacting Syncfusion support.  

Yes, we can print PDF document without saving a file to a disk. We can create a PDF document and save it to a memory stream and print the PDF document from memory stream using PdfViewerControl. After printing the document, we can dispose document stream. We have created a simple sample to achieve your requirement, please find the sample from below link, 

Please let us know if you need any further assistance on this.  

Regards, 
Prakash V 


San
Replied On October 12, 2019 02:34 AM UTC

Hi,

Got it!

Thanks,


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon