PDFDocumentReader from Local FileSystem

Dec 30, 2011 at 1:32 PM
Edited Dec 30, 2011 at 6:56 PM

Hello,

 

I need to open ( and view ) a PDF file stored on local file system. Can you help me to accomplish this task ?

Actually I wrote :

FileInfo fi = new FileInfo(@"C:\test.pdf");
                Stream s = fi.OpenRead();
                this.DataSource.PackageReader = new PdfDocumentReader(s);
It does not work ! :(
Pls help me, it's very important and urgent.

Tnx a lot

-Syrus

Coordinator
Dec 30, 2011 at 8:20 PM

Replied in http://documenttoolkit.codeplex.com/discussions/282256