There is a picture in my winform, I want to show pixel coordinates when mouse is moving, and
whether zoom in or out, the same pixel’s coordinates don’t change, just like what paint.net does.
Appreciate for any idea.
There is a picture in my winform, I want to show pixel coordinates when
Share
You need to handle the
MouseMoveevent and get the location frome.Xande.Y.You can divide the location by your zoom factor.