Pdfviewer wont show text

5 posts, 1 answers
  1. Fredrik
    Fredrik avatar
    58 posts
    Member since:
    Mar 2013

    Posted 09 Aug 2013 Link to this post

    For some reasons my telerik radpdfviewer wont show text. pictures and lines shows fine on the document, just not text.
    I have tryed several documents and everyone opens fine on the telerik silverlight demo example of the pdfviewer.

    but if i try to load from stream or open it within the pdfviwer i get no text.......
    please help

    ps. i have the current version of radcontrols from telerik

    private void BuildAttachmentPdf(byte[] FileContent)
            {
                MemoryStream data = new MemoryStream(FileContent);
                DocumentSource = new PdfDocumentSource(data);
                RaisePropertyChanged("PdfSource");
            }
      
    <telerik:RadPdfViewer Grid.Row="1" x:Name="pdfViewer" DocumentSource="{Binding DocumentSource}" />
  2. Fredrik
    Fredrik avatar
    58 posts
    Member since:
    Mar 2013

    Posted 13 Aug 2013 Link to this post

    bump
  3. DevCraft banner
  4. Answer
    Petya
    Admin
    Petya avatar
    975 posts

    Posted 13 Aug 2013 Link to this post

    Hello Fredrik,

    Please verify all required assembly references are added to your project as per this help article.

    Let us know how it goes.

    Regards,
    Petya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    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 >>
  5. Fredrik
    Fredrik avatar
    58 posts
    Member since:
    Mar 2013

    Posted 14 Aug 2013 Link to this post

    Hello, i can confirm i have the following 

    •Telerik.Windows.Controls.dll
    •Telerik.Windows.Controls.FixedDocumentViewers.dll
    •Telerik.Windows.Documents.Core.dll
    •Telerik.Windows.Documents.Fixed.dll
    •Telerik.Windows.Zip.dll
    •Telerik.Windows.Controls.Input.dll
    •Telerik.Windows.Controls.Navigation.dll

  6. Fredrik
    Fredrik avatar
    58 posts
    Member since:
    Mar 2013

    Posted 15 Aug 2013 Link to this post

    removed and readded all the assemblies, works now

    thanks
Back to Top
DevCraft banner