This is a migrated thread and some comments may be shown as answers.

Text Selection and print

1 Answer 94 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Nauman
Top achievements
Rank 1
Nauman asked on 05 Sep 2013, 09:47 AM
Hi,
How can i get selected text from pdfviewer? I have opened a pdf file in Text Selection mode. Now i will select some sentence from third and fourth line...
how can i get the whole sentence in C# or VB?

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 06 Sep 2013, 03:47 PM
Hi Nauman,

You can obtain the selected in RadPdfViewer text like this:
this.pdfViewer.Document.Selection.GetSelectedText()
Please refer to this help article explaining Text Selection for further information. 

I hope this helps!

Regards,
Petya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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 >>
Tags
PDFViewer
Asked by
Nauman
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or