Reputation: 749
In order to work with an image I need to make the user select certain(4) coordinates within a Image Box and afterwards save that coordinate data and close the window. The project is using C# and WPF. Sadly google is giving me a lot of unfocused solutions on this topic. Any suggestions/ links?
thanks
Upvotes: 0
Views: 4244
Reputation: 12346
Point pos = Mouse.GetPosition(myElement);
will give you the mouse position relative to the element.
Upvotes: 1