1
Answer

Moving Rectangle on Mouse move

Sahil Dudeja

Sahil Dudeja

7y
261
1
Hi WPF Experts,
 
I am a java developer who recently moved to WPF development. I am working on a requirement where I want to show a rectangle being moved where ever I move mouse around the canvas drawn on window. I want to show a image in this rectangle also being moved around with moving the mouse.
 
We have used Foxit SDK. We are capturing the signature and storing it in an image file. On mouse touch down event, that image is placed at canvas as annotation. Now user doesn't know how exactly signature would be placed on canvas untill he clicks which is creating problem.
 
If anyone can give some leads, it would be really helpful.
 
Thanks,
Sahil 
Answers (1)