This project is read-only.

PDFDocumentReader from Local FileSystem

Dec 30, 2011 at 2:32 PM
Edited Dec 30, 2011 at 7: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

Dec 30, 2011 at 9:20 PM

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