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.
PVPrakash Viswanathan Syncfusion Team October 11, 2019 02:22 AM
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,