title: C# Open Office Documents and Xps Files from MemoryStream
body: <p>I have an application for viewing Word and Excel Files via Xps Viewer. I convert office files to xps files and show it in WPF XPS Document Viewer. </p>
  
  <p>But here is a little problem; I don't want the users see the files, i delete the files after closing. </p>
  
  <p>I am wondering is there any solution to convert xps in to memory stream and view it in Xps Viewer</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I don't want create any xps file on disk. The convert process must done inside to MemoryStream.</p>