Search found 11 matches

by JeromeC
Tue May 12, 2015 10:17 am
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Refresh/Paint drawings on ImageViewer
Replies: 16
Views: 11042

Re: Refresh/Paint drawings on ImageViewer

Hello Alex, Hello Jerome, SDK has the Vintasoft.Imaging.Annotation.UI.Undo.AnnotationViewCollectionUndoMonitor and Vintasoft.Imaging.Annotation.UI.Undo.AnnotationViewUndoMonitor classes which allow to add undo/redo functionality to your application. Why dont you use these classes? Annotation Demo sh...
by JeromeC
Mon May 11, 2015 6:22 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Refresh/Paint drawings on ImageViewer
Replies: 16
Views: 11042

Re: Refresh/Paint drawings on ImageViewer

I would also like to know how to stop the drawing of an point polygon when I use the following code: View.GetAnnotationViewer().AddAndBuildAnnotation(annotationView) I can stop it by double right clicking my annotationViewer, it finishes the annotation with the current position of the mouse, I would...
by JeromeC
Mon May 11, 2015 6:19 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Refresh/Paint drawings on ImageViewer
Replies: 16
Views: 11042

Re: Refresh/Paint drawings on ImageViewer

Hello Alex, I'm working on the point polygon Annotation. I need to move the polygon around my AnnotationViewer and store it's coordinates each time it moves. I have undo/redo buttons, it's working well on the rectangle annotation but not on the polygon annotation. I have the following code for the r...
by JeromeC
Tue May 05, 2015 4:53 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Refresh/Paint drawings on ImageViewer
Replies: 16
Views: 11042

Re: Refresh/Paint drawings on ImageViewer

Hello Alex, After further more tests, I was able to do what I want. On the mouseDown event on the AnnotationVisualTool, I set the HoveredAnnotation to the FocusedAnnotation, that way I don't have to wait for the mouse to be released to have my annotationView selected/focused (which was my problem). ...
by JeromeC
Tue May 05, 2015 11:13 am
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Refresh/Paint drawings on ImageViewer
Replies: 16
Views: 11042

Re: Refresh/Paint drawings on ImageViewer

Hello Alex, Thanks it's working great now! Concerning my previous question on the behavior of the mouse events of the AnnotationView, do you have some more insight? I did some more tests and it seems the FocusedAnnotation of the AnnotationVisualTool is correctly set on the mouseUp event but not on t...
by JeromeC
Tue May 05, 2015 10:48 am
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Refresh/Paint drawings on ImageViewer
Replies: 16
Views: 11042

Re: Refresh/Paint drawings on ImageViewer

Hello Alex, I have another question. I'm using the PannigTool to move my image when I zoom on the AnnotationViewer on the click of a button, the behavior is that the button will activate the panning, and when I click again the panning will stop. I looked at the API and found the PanningTool, it's wo...
by JeromeC
Mon May 04, 2015 6:12 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Refresh/Paint drawings on ImageViewer
Replies: 16
Views: 11042

Re: Refresh/Paint drawings on ImageViewer

Hello Alex, Thanks for the tips on the outline, I was using color instead of Brush. It's now working fine. I still have trouble with MouseEvents. I'm using the AnnotationVisualTool as you recommended and I'm getting the mouse events to fire but it's behavior is off what I want. I have the following ...
by JeromeC
Tue Apr 28, 2015 6:18 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Refresh/Paint drawings on ImageViewer
Replies: 16
Views: 11042

Re: Refresh/Paint drawings on ImageViewer

Hello Alex, I'm working with the annotationViews at the moment and I have some trouble with the mouse events. I have the following code: CreateGridGuidancePointAnnotationViews(new PointF((float)(imageWidth * 0.15) * 1F, (float)(imageHeight * 0.1) * 1F), "Point en haut a gauche", "Grid...
by JeromeC
Fri Apr 24, 2015 10:38 am
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Refresh/Paint drawings on ImageViewer
Replies: 16
Views: 11042

Re: Refresh/Paint drawings on ImageViewer

Hello Alex, I just looked into the annotation plugin and it seems to perfectly fill my needs. I looked at the demo which have all the extensives operations I want to do on my images. I will integrate the plugin in my solution to test that I'm able to do all I want with help from the demo's code. I w...
by JeromeC
Wed Apr 22, 2015 6:00 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Refresh/Paint drawings on ImageViewer
Replies: 16
Views: 11042

Re: Refresh/Paint drawings on ImageViewer

Hello Alex, I'm not quite sure about the answer. I would say to draw the graphic primitives over the image as my goal is to move graphics around over the image while the image will be static. I will still need to take into account the zoom, as users will need to draw shape with pretty huge zoom in. ...