We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get the pdf doucment content

Thread ID:





106095 Dec 10,2012 01:24 PM UTC Dec 12,2012 11:58 AM UTC ASP.NET MVC (Classic) 1
Tags: PDF
Arjun Gudla
Asked On December 10, 2012 01:24 PM UTC


In the below code i am able to retrieve the word document content. How i can get it for pdf document

      WordDocument dc = new WordDocument(r, Syncfusion.DocIO.FormatType.Doc);               //word dcoument loading and conversion into pdf file
 MemoryStream ms2 = new MemoryStream();
                        doc2.Save(ms2, Syncfusion.DocIO.FormatType.Doc);
                        ms2.Seek(0, SeekOrigin.Begin);
                        StreamReader sr2 = new StreamReader(ms2);
                        string s2 = sr2.ReadToEnd();

Suresh M [Syncfusion]
Replied On December 12, 2012 11:58 AM UTC

Hi Srinivas,


Thank you for your interest in Syncfusion products.


Please find the sample available in the link below to extract the text content from the PDF document.


Sample link: http://www.syncfusion.com/downloads/Support/DirectTrac/101925/TextExtraction-2008238087.zip


Please let us know if you have any concerns.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon