check if AnnotationViewer has changed

Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.

Moderator: Alex

Post Reply
GHWels
Posts: 32
Joined: Thu Apr 09, 2015 7:57 am

check if AnnotationViewer has changed

Post by GHWels » Sat Apr 18, 2015 4:07 pm

Hallo,

Is there a parameter to check if the AnnotationViewer1 has changed,
when I add or delete annotations
or I rotate the Image?

Thank you
Last edited by GHWels on Thu Jul 30, 2015 8:32 am, edited 1 time in total.
Best regards, GHWels

Alex
Site Admin
Posts: 1445
Joined: Thu Jul 10, 2008 2:21 pm

Re: check if AnnotationViewer has chaned

Post by Alex » Sat Apr 18, 2015 5:00 pm

Hello,
Is there a parameter to check if the AnnotationViewer1 has changed, when I add or delete annotations
You need subscribe to the AnnotationDataCollection.Changing or AnnotationDataCollection.Changed event if you want to monitor changes in annotation collection. You need subscribe to the AnnotationDataCollection.ItemPropertyChanging or AnnotationDataCollection.ItemPropertyChanged event if you want to monitor changes in annotation. Reference to the annotation collection can be get using the AnnotationViewer.AnnotationDataCollection property.

or I rotate the Image?
You need subscribe to the VintasoftImage.Changed event if you want to monitor image changes. Reference to the image can be get using ImageViewer.Image or ImageViewer.Images property.

Best regards, Alexander

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest