Search found 2 matches

by derevell
Tue Mar 25, 2014 12:58 am
Forum: VintaSoft Annotation .NET Plug-in Discussions
Topic: Drag and Drop location zoomed
Replies: 2
Views: 3164

Re: Drag and Drop location zoomed

For those that run in to this; here is the solution // Get the cordinates of the point on screen to client Point clientLocation = annotationViewer1.PointToClient(new Point(e.X, e.Y)); // Get the point of the image in the viewer PointF imageLocation = annotationViewer1.PointToImageF(new PointF(client...
by derevell
Mon Mar 24, 2014 8:29 pm
Forum: VintaSoft Annotation .NET Plug-in Discussions
Topic: Drag and Drop location zoomed
Replies: 2
Views: 3164

Drag and Drop location zoomed

I can't seem to figure out the combination on how to drag and drop a note to the viewer in the correct location. I've tried the following but the annotation is always quite a bit off. Does anyone know how to translate the X and Y coordinates for the drop event to the location of the annotation? Than...