Get xaml origin by klicking or selecting text in document viewer!
-
24-10-2019 - |
Question
I'm trying to find the XPS xaml origin of an (text) element which is klicked or selected in a document viewer. Is this somehow possible?
Thanks!
Solution
Finally I have the anwser: and it's really easy too, suscribe to the mouse move or some mouse event, and cast the original source to either: glyph, canvas or path! That's it folks
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow