I have been having difficulty with the Zoom factor and the overlay working together well and was looking for some guidance.
The portion of my application causing difficulty is simply enlarging (zooming) a live video image with a crosshair drawn when you double click on the picture.
I'm reading the clicked position value via:
_Cross(0).X1 = e.X 'Mouse coordinates to locate master curser
_Cross(0).Y1 = e.Y
This works great when you are at 100% zoom factor. This even enlarges the overlay hairs correctly when you zoom in via:
IcImagingControl1.LiveDisplayZoomFactor = sldZoom.Value / 10
' set via a slider, control named sldZoom
The problem comes in when your zoomfactor is set, then you double click on the imaging control, the cross hair seems to scale for you.
My logical response was to multiply the e.X and e.Y values by my zoom factor e.g. 125% = 1.25 and the response is not what I'd expected.
Could you provide any guidance as to why the e.X and e.Y values would not scale correctly? thanks, Joe...