Read a PDF file into string[]

Hi,

I'm using this code to read a pdf file:

// Load an existing PDF
PdfLoadedDocument ldoc = new PdfLoadedDocument(srcPath);
// Loading Page collections
PdfLoadedPageCollection loadedPages = ldoc.Pages;
// Extract text from PDF document pages
foreach (PdfLoadedPage lpage in loadedPages)
{
s += lpage.ExtractText();
}
MessageBox.Show(s);

Unfortunately, all the Chinese has been "removed" or cannot be displayed.


Any tips or suggestions?


Thanks



PhoneDetails_001_6f35244a.zip

2 Replies

AB Andy Bott September 12, 2009 11:06 AM UTC

PS

I'm using C# 2008; XP64 SP2 English version

Thanks


TE Thiruvenkadam E Syncfusion Team September 15, 2009 10:57 AM UTC

Hi Andy,

Thank you for your interest in Syncfusion products.

I was able to see the reported issue . Please create a Drect-Trac incident (mention the forum link in the subject line) so that we will fix this issue and we

update you with the fix.

Please let me know if you need further assistance any questions.

Regards,
Thiru

Loader.
Up arrow icon