Text Selection and print

2 posts, 0 answers
  1. Nauman
    Nauman avatar
    1 posts
    Member since:
    Oct 2007

    Posted 05 Sep 2013 Link to this post

    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?
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 06 Sep 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top