Skip to main content
March 30, 2012
Answered

Extract Text from pdf using C#

  • March 30, 2012
  • 1 reply
  • 38895 views

Hi,

We are Solution developer using Acrobat,as we have reuirement of extracting text from pdf using C# we have downloaded adobe sdk and installed. We have found only four exmaples in C# and those are used only for viewing pdf in windows application. Can you please guide us how to extract text from pdf using SDK in C#.

Thanks you for your help.

Regards

kiranmai

This topic has been closed for replies.
Correct answer Eldrarak82

Try page 135 of this document

http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/plugin_apps_developer_guide.pdf

More than likely, you'll need to write a plugin to handle this because IAC doesn't seem to support it through COM

If you are creative in using the JS interface, you can extract all the words from a document. You would need to use a loop and put everything into an array or a List.
Take a look at page 311 of

http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf

1 reply

lrosenth
Adobe Employee
Adobe Employee
March 30, 2012

Have you read the documentation? Both for the native COM/.NET calls as well as those available via the JSBridge??

March 30, 2012

Thank you for your quick reply, can you please suggest the correct document that can help me, as i feel the most of the documentation is meant for C/C++ developers.

Regards

Kiranmai

Eldrarak82Correct answer
Participant
April 4, 2012

Try page 135 of this document

http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/plugin_apps_developer_guide.pdf

More than likely, you'll need to write a plugin to handle this because IAC doesn't seem to support it through COM

If you are creative in using the JS interface, you can extract all the words from a document. You would need to use a loop and put everything into an array or a List.
Take a look at page 311 of

http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf