问题
How can I display a PDF document from a MemoryStream within a WebBrowser control?
I've searched around and found I can simply navigate to a PDF file using:
webBrowser1.Navigate(@"C:\Temp\ExportedPDF.pdf");
However I want to avoid saving the file anywhere, but I'm currently leaning towards using IsolatedStorage simply because I can't find any other method to get the stream into the browser control.
来源:https://stackoverflow.com/questions/3038043/display-pdf-from-a-stream-in-a-webbrowser-control