I have been tried to stream the pdf file by using the code:
Stream str = App.GetResourceStream(new System.Uri("PdfViewerDemo;component/SampleData/Sample.pdf",System.UriKind.Relative)).Stream;
this.pdfViewer.DocumentSource = new PdfDocumentSource(str);
But. I am unable to get it.
Can you please explain in detail how to stream the pdf file which is in SampleData folder in client application
Stream str = App.GetResourceStream(new System.Uri("PdfViewerDemo;component/SampleData/Sample.pdf",System.UriKind.Relative)).Stream;
this.pdfViewer.DocumentSource = new PdfDocumentSource(str);
But. I am unable to get it.
Can you please explain in detail how to stream the pdf file which is in SampleData folder in client application