I am developing a purchase order application that will create a pdf with all of the order information and attach the file to an email. I can successfully create the PDF file but I am wondering if there is way that I can make it so that the user can preview the PDF before the email is sent. I would preferably like to create the pdf, then somehow update the PDFViewer to show the recently created pdf. So my question is, how do I automatically update the pdf viewer to preview a pdf that was just created?
Edit: I am currently creating the pdf file to onedrive.