Are you wanting to get the 'new' position of the pixel you zoomed in on or are you wanting to get the new pixel at the zoomed in position?
If you're wanting to do the second one, could you not create a variable that holds the x and y of the mouse position? Then when you click, you set this value and then use it for all of your pixel checks?
that it how do i get that. Iam placing the image in the center by getting the screen resolution with picture box size as (800, 650). now iam increasing width and height by 50 and using the offset(-25, -9) to maintain the image on top location.
What will be the equation to get the original pixel after zoomed the image.
Dim Adapter As New OleDbDataAdapter
Dim Command As New OleDbCommand
Dim xFrom As String = dtpFrom.Value.ToString.Substring(0, dtpFrom.Value.ToString.IndexOf(" "))
Dim xTo As String = dtpTo.Value.ToString.Substring(0, dtpTo.Value.ToString.IndexOf(" "))
sqlQuery = MainQuery ...