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. Image for the cookie policy date

Unable to find and read text from PDF document.

I'm attempting to read a pdf document into a string container so that I can use regex to find certain strings in it.

I've used the following example from your examples page


//Load an existing PDF.

PdfLoadedDocument loadedDocument = new PdfLoadedDocument(fileName);

//Load the first page.

PdfPageBase page = loadedDocument.Pages[0];

//Extract text from first page.

string extractedText = page.ExtractText();

However, after reading the pdf file, the object produced by Visual Studio has timed out for some its properties.
see attached VS object view.
I'm therefore not able to reference the Pages collections

I've tested this on a number of PDF documents including one with a single sentence in it "Hello world."

All experienced the same behaviour

Can you provide assistance on this matter ?

Josef


1 Reply

SS Sathish Sivakumar Syncfusion Team February 23, 2016 01:12 PM UTC

Hi Josef,

Thank you for using Syncfusion Products.

We are able to reproduce the issue “Function evaluation failed in the Visual Studio intellisense” reported in this forum.

We have created a new support incident for a better follow up. Kindly log in to your Syncfusion account from the below link to know more details about your query in the newly created incident:

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Please let us know if you need further assistance.

Regards,

Sathish


Loader.
Up arrow icon