Get point in current page

5 posts, 0 answers
  1. James
    James avatar
    1 posts
    Member since:
    Aug 2013

    Posted 26 Aug 2013 Link to this post

    OK, I've searched through the objects pretty thoroughly, and can't seem to find a solution to this problem.  I am trying to retrieve the point (X Y coordinates) within the current page where a mouse event fires (in this case, mouse up event)

    I can get the screen coordinates, and from that the coordinates within the control, but I'm interested in returning the Point within the actual page being clicked on.  Any hints?

  2. Alexander
    Alexander avatar
    41 posts

    Posted 29 Aug 2013 Link to this post

    Hello James,

    You cannot currently achieve this out of the box. We are however implementing CustomPresenters which will expose such an API and will allow you to implement the wanted behavior. The feature will be ready for Q3 2013 or Q1 2014.

    I hope this is helpful. Please, do not hesitate to contact us if you have any other questions.

    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. DevCraft R3 2016 release webinar banner
  4. Clément
    Clément avatar
    2 posts
    Member since:
    May 2014

    Posted 24 Jul 2014 in reply to Alexander Link to this post

    The "CustomPresenters" is available ?

  5. Veronique
    Veronique avatar
    1 posts
    Member since:
    Jan 2014

    Posted 25 Jul 2014 Link to this post

    This doesn't seem to be in the latest releases of the control.

    Will this be available in a release at some point in the near future?
    Thanks for your answer.
  6. Deyan
    Deyan avatar
    125 posts

    Posted 25 Jul 2014 Link to this post


    Thank you for contacting us.

    You can take the mouse click coordinates subscribing for PreviewMouseDown event of the PdfViewer's FixedDocumentPresenter. Then using the presenter's GetLocationFromViewPoint method you can take the clicked page and the corresponding clicked location on this page. For more detailed information on how you can achieve that please follow this link to "Save Click Location and GoToDestination" in Telerik's forum.

    If you have further questions do not hesitate to contact us again.

    the Telerik team
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top
DevCraft R3 2016 release webinar banner