I am looking for a control that will do the following
1) Load and display an image in a PDF format
2) Load the next and last page of a multiple image file.
3) ZoomIn and ZoomOut of the image
4) Horizontal and vertical scrolling for images larger than the screen
5) A MouseDown event that returns the X and Y position of the cursor
6) DrawLine function onto the image
7) The ability to save the image with any added lines
I have a control that does all of this and does it well but here is the problem. When I click a point on the Image I can get the X and Y coordinates of where the cursor is on the screen. If I try to plot this point on the image, it uses the x and y coordinates of the screen to plot the point at the x and y coordinates of the image. I think maybe this would work if the screen and the image were the same size. Unfortunately they aren't.
What I need is a way to have the x and y coordinates of the point clicked on the image returned to me. All I am currently getting are the x and y coordinates of the screen.
1) Load and display an image in a PDF format
2) Load the next and last page of a multiple image file.
3) ZoomIn and ZoomOut of the image
4) Horizontal and vertical scrolling for images larger than the screen
5) A MouseDown event that returns the X and Y position of the cursor
6) DrawLine function onto the image
7) The ability to save the image with any added lines
I have a control that does all of this and does it well but here is the problem. When I click a point on the Image I can get the X and Y coordinates of where the cursor is on the screen. If I try to plot this point on the image, it uses the x and y coordinates of the screen to plot the point at the x and y coordinates of the image. I think maybe this would work if the screen and the image were the same size. Unfortunately they aren't.
What I need is a way to have the x and y coordinates of the point clicked on the image returned to me. All I am currently getting are the x and y coordinates of the screen.