Print pdfviewer doesn't fit the page size

2 posts, 1 answers
  1. Mathieu
    Mathieu avatar
    6 posts
    Member since:
    Feb 2014

    Posted 28 Aug 2015 Link to this post


    I want to print a loaded pdf file from a PDF viewer programatically.

    I don't want to click on the print icon then display the preview and finally reclick on print button.

    I tried to do this



    but the printed document doesn't fit the page size.

     Do you have a solution.





  2. Answer
    Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4173 posts

    Posted 31 Aug 2015 Link to this post

    Hello Mathieu,

    Thank you for writing.

    You can use RadPrintDocument in order to print the document loaded in RadPdfViewer and specify the DefaultPageSettings. Thus, you can control the paper size, margins, etc.

    I hope this information helps. Should you have further questions I would be glad to help.
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top