[Webinar] Learn how to a build a cloud-first strategyRegister Now


C# code to read all the contents from the PDF file.

Posted on 2009-04-30
Medium Priority
Last Modified: 2013-12-17
I was looking for C# code to read all the contents from the PDF file.
Like how can we read the pdf file using PdfReader in C#.

It would be great if someone can please answer to this question ASAP

Question by:dev_qasource

Author Comment

ID: 24277358

Thanks for this link. The problem with this code is that it extracts the PDF in text content and does not enable to verify if PDF file contains any radio button/checkbox or anything.......

feasible solution is using PDFReader as per me, but I am not able to use it as i want to know how to use pdfreader class.

Any comments?
LVL 70

Accepted Solution

Éric Moreau earned 1000 total points
ID: 24278074

Assisted Solution

avm7878 earned 1000 total points
ID: 24281384
using the PDFReader written by Michael Ganss, you can enumerate through the fields in the PDF Form. You can get the type of each field and verify that a checkbox/radio button/whatever exists.


Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month20 days, 10 hours left to enroll

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question