I used iTextSharp as well... but got
"* *System.IO.IOException: C:\inetpub\wwwroot\ReadPDF\Tabular.pdf not found
as file or resource."
Exception although pdf file was on the correct place....
Here is my code which I used with iTextSharp...
string strFile = Server.MapPath("Tabular.pdf");
PdfReader pdfReader = new PdfReader(strFile );
On PdfReader line I m getting above exception.....
Pls let me know if u hav any idea
On Tue, Aug 17, 2010 at 9:55 AM, alandgri <[email protected]> wrote:
> iTextSharp can read from PDF files, if I recall correctly.
>
> On Aug 16, 12:34 am, Aman Sharma <[email protected]> wrote:
> > Check out this site...
> >
> > http://www.pdf-technologies.com/demos/pdfTextExtract.aspx
> >
> > They have done exact thing....
> >
> > Use this tabular pdf for example :-
> >
> > *Name*
> >
> > *Age*
> >
> > *Sex*
> >
> > A
> >
> > 20
> >
> > M
> >
> > B
> >
> > 18
> >
> > F
> >
> > C
> >
> > 15
> >
> > M
> >
> > D
> >
> > 1
> >
> > F
> >
> > I tried PDFBox which gave me security exception....
> >
> > Now trying TallPDF.NET and PDFKit.NET.... lets c wheather it will be
> doable
> > for me... :)
> >
> > If anyone has any idea in PDF(Tabular Format) to text.. pls guide me.
> >
> > On Sun, Aug 15, 2010 at 8:35 PM, Aman Sharma <[email protected]
> >wrote:
> >
> > > Data is in pdf and in a tabular form.'
> >
> > > I tried to use "PDFBox" open source but getting following error...
> >
> > > *Security Exception*
> > > *Description: *The application attempted to perform an operation not
> > > allowed by the security policy. To grant this application the required
> > > permission please contact your system administrator or change the
> > > application's trust level in the configuration file.
> >
> > > *Exception Details: *System.Security.SecurityException: That assembly
> does
> > > not allow partially trusted callers.
> >
> > > Dont know what to do....
> >
> > > On Sun, Aug 15, 2010 at 5:59 PM, Stephen Russell <
> [email protected]>wrote:
> >
> > >> On Sun, Aug 15, 2010 at 3:40 AM, Aman Sharma <
> [email protected]>
> > >> wrote:
> > >> > Hi,
> >
> > >> > Is it possible in ASP.Net to read data from pdf file and show that
> into
> > >> Data
> > >> > View....?
> > >> -----------------------------
> >
> > >> Is the data from an excel sheet or a report?
> >
> > >> There are different PDF tools for VS and some can manipulate the raw
> > >> data where others just make the content.
> >
> > >> --
> > >> Stephen Russell
> >
> > >> Sr. Production Systems Programmer
> > >> CIMSgts
> >
> > >> 901.246-0159 cell
>