PDF convert to text?

4 posts, 0 answers
  1. Vincent
    Vincent avatar
    9 posts
    Member since:
    Dec 2013

    Posted 31 Jul 2014 Link to this post

    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. 
  2. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 01 Aug 2014 Link to this post

    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.
     
  3. DevCraft banner
  4. Nirmala
    Nirmala avatar
    1 posts
    Member since:
    Apr 2015

    Posted 10 Apr 2015 in reply to Kammen Link to this post

    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

  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 14 Apr 2015 Link to this post

    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.

     
Back to Top