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?
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?
4 Answers, 1 is accepted
0
Hello James,
Regards,
Alexander
Telerik
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.Alexander
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 >>
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 >>
0

Clément
Top achievements
Rank 1
answered on 24 Jul 2014, 01:46 PM
Hello,
The "CustomPresenters" is available ?
Thanks
The "CustomPresenters" is available ?
Thanks
0

Veronique
Top achievements
Rank 1
answered on 25 Jul 2014, 01:50 PM
+1
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.
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.
0
Hello,
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.
Regards,
Deyan
the Telerik team
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.
Regards,
Deyan
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.