This is a migrated thread and some comments may be shown as answers.

Text extraction

3 Answers 91 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 30 Apr 2012, 07:15 AM
Is it possible to extract the text content of a pdf file with PDFViewer?

Thanks,Michael

3 Answers, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 02 May 2012, 04:15 PM
Hi Michael,
We are actively working on this feature and hopefully it will be released with the upcoming 2012 Q2 release.

All the best,
Kammen
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
David Gerding
Top achievements
Rank 1
answered on 09 Aug 2013, 06:23 PM

Hi,

I'm really hoping this feature is in there now.  I only need plain text extraction - not formatting.  Fingers crossed...

Dave G

0
Petya
Telerik team
answered on 13 Aug 2013, 02:18 PM
Hi Dave G,

You can export the content of a PDF document shown in RadPdfViewer with the help of the TextFormatProvider class like this:
TextFormatProvider formatProvider = new TextFormatProvider();
string pdfContent = formatProvider.Export(this.viewer.Document);

I hope this is helpful!
 
Regards,
Petya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
PDFViewer
Asked by
Michael
Top achievements
Rank 1
Answers by
Kammen
Telerik team
David Gerding
Top achievements
Rank 1
Petya
Telerik team
Share this question
or