You must Sign In to post a response.

read pdf content in vb.net

Hi...
How to find the hyper links available in a pdf file content.Need to modify the hyperlinks.how to read and write pdf file without a third party library..


Comments

Author: Danasegarane.A01 Jul 2008 Member Level: Gold   Points : 4

You could use the Itext Sharp Dll to read the contents of file using vb.net or C#. it is freeware DLL

This article explains the method of using ITExt sharp DLL for reading the contents of PDF FIle


http://www.aspfree.com/c/a/BrainDump/Working-with-iTextSharp/


Dana

Author: Danasegarane.A01 Jul 2008 Member Level: Gold   Points : 3

This is the another article explaining the method of extaactig the text from PDF to text

http://www.codeproject.com/KB/string/pdf2text.aspx


Hope this helps
Dana

Author: Siva01 Jul 2008 Member Level: Gold   Points : 4

string path = PDF FileName;
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/pdf";
Response.WriteFile(path);
Response.Flush();
Response.Close();