Unreadable text after importing/exporting

2 posts, 0 answers
  1. Maurício
    Maurício avatar
    42 posts
    Member since:
    Jan 2011

    Posted 27 Sep 2016 Link to this post


    Importing and exporting this pdf results in an unreadable text.

    The attached image "ImportedFile" shows how the imported pdf looks like. The other image, "ExportedFile", shows the result of the export.


    Here's a code example to import and export:

    private static void ImportAndExport()
        var fixedDocFormatProvider = new Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider();
        RadFixedDocument fixedDocument;
        var importFile = @"C:\ImportedFile.pdf";
        using (var stream = File.OpenRead(importFile))
            fixedDocument = fixedDocFormatProvider.Import(stream);
        var formatProvider = new Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider();
        var exportFile = @"C:\ExportedFile.pdf";
        using (var stream = new FileStream(exportFile, FileMode.Create))
            formatProvider.Export(fixedDocument, stream);

    Any ideas why is this happening?



  2. Deyan
    Deyan avatar
    157 posts

    Posted 30 Sep 2016 Link to this post

    Hello Maurício,

    Thank you for contacting us.

    The issue you are facing is related to PDF text properties import. This issue is already fixed and if you test with the latest official version of the product the file should be imported and exported correctly.

    I hope this helps.

    Telerik by Progress

Back to Top