I am unable to copy text from the PdfViewer and paste it in notepad using Ctrl+c, Ctrl+v. PLease let me know if that is possible?
Thanks, Shilpi
3 Answers, 1 is accepted
0
Kammen
Telerik team
answered on 17 Apr 2013, 08:00 AM
Hi Shilpi,
RadPdfViewer supports copy. In order to enable it, you should change the mode to TextSelection. Then, you should be able to copy from the PDF document.
If you have any problems with that setup, we will appreciate if you send us a sample project / document that will illustrate this issue.
Thanks for your response. It seems like if I put the PdfViewer inside ScrollViewer, then copy (Ctrl+C) does not work. Could you please let me know how to make that work?
Thanks, Shilpi
0
Kammen
Telerik team
answered on 25 Apr 2013, 11:19 AM
Hi Shilpi,
Placing RadPdfViewer in a ScrollViewer does have that side effect. This is so because the ScrollViewer handles the Key events and they do not reach the PdfViewer. You can verify that by placing a Grid or some other control in a ScrollViewer and handling its KeyDown event.
Overall, it is not recommended to use RadPdfViewer inside ScrollViewer (or any container that will measure it in Infinite size) for a variety of reasons. This not only causes performance issues, because RadPdfViewer cannot use virtualization when showing a larger document, but also disables functionality such as go to page, find text, etc.