displaying document issue

Mar 24, 2011 at 4:39 PM

Hello,

I'm want to display an XPS file. I already tried to show an XPS file from my local disk and worked fine, now I'm trying to use the ShowDocument() method and passing a MemoryStream to it. I created a public method to call 'ShowDocument()', but nothing is displayed.


public
void ShowDoc(MemoryStream stream) { ShowDocument(stream); }

I don't know what I'm missing.

Could you please give some guidance about this?

Thanks in advance.