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.
1 Answer, 1 is accepted
Dess | Tech Support Engineer, Principal
answered on 31 Aug 2015, 01:01 PM
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