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

PDF convert to text?

3 Answers 155 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Iron
Vincent asked on 31 Jul 2014, 02:43 PM
I see the new control named pdfprocessing. I am very interesting in this control. base on the introduction of this, they can import pdf file and convert to a certain format. but there is no demo about this. I want to convert a pdf file to a text format and extract the picture in pdf file . can this control do this. 

3 Answers, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 01 Aug 2014, 08:49 AM
Hello Vincent,

Thank you for contacting us.

RadPdfProcessing is in CTP and currently it does not support text extraction.

However, you can use RadPdfViewer to extract the text. You can use the following code:

PdfFormatProvider provider = new PdfFormatProvider(stream, FormatProviderSettings.ReadOnDemand);
RadFixedDocument document = provider.Import();
TextFormatProvider textFormatProvider = new TextFormatProvider();
string text = textFormatProvider.Export(document);

Extracting the images in a PDF file is not supported for now. However, we have it in mind when expanding the RadPdfProcessing functionality.

Hope this answers your questions.

Regards,
Kammen
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Nirmala
Top achievements
Rank 1
answered on 10 Apr 2015, 07:24 PM

We need a pdf converter to text software for sitecore site. Initially we will be using .net 3.5 and later 4.5.  Whom do I contact for product testing and pricing.

 

Thanking you,

 

Nirmala

0
Petya
Telerik team
answered on 14 Apr 2015, 05:03 PM
Hello Nirmala,

RadPdfProcessing is shipped with several of the Telerik UI suites, for example with the ASP.NET AJAX one. I suggest downloading a trial from your Telerik account and trying the library out. You can also take a look at our online demos.

Please note, however, that we ship the binaries with target framework versions Silverlight 5 or .NET 4.0/4.5. Libraries for .NET 3.5 are not distributed and I'm afraid we have no plans to include such version. 

Regards,
Petya
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
PDFViewer
Asked by
Vincent
Top achievements
Rank 1
Iron
Answers by
Kammen
Telerik team
Nirmala
Top achievements
Rank 1
Petya
Telerik team
Share this question
or