Print pdf using RadPdfViewer

2 posts, 0 answers
  1. LAZAU
    LAZAU avatar
    7 posts
    Member since:
    Oct 2013

    Posted 07 Aug 2014 Link to this post


    I want to print a pdf file using RadPdfViewer. I tried

    Viewer viewer = new RadPdfViewer();
    viewer.Print(new Telerik.Windows.Documents.Fixed.Print.PrintSettings(@"abc.pdf",false));
    This is not working.
    Basically I want to print a pdf file in a separate thread because I don't want my interface to frieze. 
    Please help me.
  2. Kammen
    Kammen avatar
    312 posts

    Posted 08 Aug 2014 Link to this post


    Thank you for your interest in RadPdfViewer.

    RadPdfViewer is not thread safe because it uses DependencyProperties and UIElements. That is why it cannot be used for printing in non-UI thread.

    Hope this answers your question.

    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 R3 2016 release webinar banner
Back to Top