views:

326

answers:

4

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?

+1  A: 

You should checkout PDFSharp library and they have preview component, where else extracting text and showing them in RichTextBox could be little bit of more work, but you can try this.

Akash Kava
A: 

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

Also see an example on the CodeProject

James
+1  A: 

Since PDF is an binary format you'll have to use a pdf-library like pdflib in order to read pdf-files.

pdfLib

KB22
A: 

iTextSharp is another alternative PDF library for .NET.

Vinay Sajip
Does iTextSharp allow one to read PDF and convert it to RTF though?
scott
Not as far as I know.
Vinay Sajip