|123439||Mar 17,2016 01:07 PM UTC||Mar 21,2016 01:54 PM UTC||WPF||3|
We can create a PDF file and display it in PDFViewer without saving the file by using the following code Snippet.
//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Add a page to the document.
PdfPage page = document.Pages.Add();
//Save the document to Stream.
//Close the document.
// Load the stream in PdfViewerontrol
We have created a simple sample to achieve the same and it can be downloaded from the following location:
Please try this and let us know whether it met your requirement.
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.
or the page will be automatically redirected to sign-in page in 10 seconds.