Point point = e.Location; double pixelwidth = ReceiveImagePB.Image.Width; double pixelheight = ReceiveImagePB.Image.Height; double xPos = ReceiveImagePB.Size.Width * point.X / pixelwidth; double yPos = ReceiveImagePB.Size.Height * point.Y / pixelheight; string xposition = "X:" + xPos; string yposition = "Y:" + yPos;
e.Location
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)