Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reading PDF in C# [closed]

I want to read and display the contents of the PDF files into my RichtextBox. I am using windows application C#. Is it possible? What is the way to do it?

like image 322
user162558 Avatar asked Aug 27 '09 10:08

user162558


People also ask

How do I open a PDF file in C?

in Windows, i just use this code: ShellExecute(GetDesktopWindow(), "open", "D:\\Folder\\File. pdf", NULL, NULL, SW_SHOWNORMAL);

Can C++ read PDF?

C++ as a language doesn't equip you with such features as "write to DOC file" or "read from PDF file". The only staff available to you a a programmer is raw byte-by-byte reading or writing.


1 Answers

You can use Adobe PDF IFilter Library to convert a PDF document to text.

Also see an example on the CodeProject

like image 141
James Avatar answered Oct 06 '22 10:10

James